[ascii] flixel backend example

This commit is contained in:
2021-04-24 21:27:37 -06:00
parent 821c1188c0
commit dcb7d9f227
19 changed files with 228 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package asciilib.backends.flixel;
import asciilib.GraphicsBackend;
import asciilib.Graphics;
@:build(kiss.Kiss.build())
class FlxGraphicsBackend implements GraphicsBackend {}

View File

@@ -0,0 +1,3 @@
(defnew [] [:Int a 5])
(defmethod :Void initialize [:String title :Int width :Int height :Int letterWidth :Int letterHeight] 0)
(defmethod :Void draw [:Graphics graphics] 0)