[asciilib] White cell in Death Trap
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
(defnew [] [:Int a 5])
|
||||
(defprop &mut firstDraw true)
|
||||
|
||||
(defmethod new [] 0)
|
||||
|
||||
(defmethod :Void update [:Float deltaSeconds] 0)
|
||||
(defmethod :Void draw [:Void->Graphics graphics] 0)
|
||||
(defmethod :Void draw [:Void->Graphics graphics]
|
||||
(when firstDraw
|
||||
(set firstDraw false)
|
||||
(.setBackgroundColor (graphics) 5 5 Colors.White)))
|
Reference in New Issue
Block a user