diff options
Diffstat (limited to 'src/main/kotlin/gpu/Gpu.kt')
| -rw-r--r-- | src/main/kotlin/gpu/Gpu.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/gpu/Gpu.kt b/src/main/kotlin/gpu/Gpu.kt new file mode 100644 index 0000000..db95c03 --- /dev/null +++ b/src/main/kotlin/gpu/Gpu.kt @@ -0,0 +1,9 @@ +package gpu + +import java.awt.Color +import java.awt.image.BufferedImage + +interface Gpu { + fun setPixel(x: Int, y: Int, colour: Color) + fun getFrame(): BufferedImage +}
\ No newline at end of file |