sand.flan speaks the prefixed enum keywords
This commit is contained in:
parent
86091541d4
commit
612696d880
@ -92,12 +92,12 @@
|
|||||||
h))
|
h))
|
||||||
|
|
||||||
(defn game-update [] ()
|
(defn game-update [] ()
|
||||||
(when (rl/key-pressed? :r) (clear-grid))
|
(when (rl/key-pressed? :key-r) (clear-grid))
|
||||||
(when (rl/mouse-button-down? :left)
|
(when (rl/mouse-button-down? :mouse-left)
|
||||||
(let [m (rl/get-mouse-position)]
|
(let [m (rl/get-mouse-position)]
|
||||||
(paint-at (/ (i32 (.y m)) cell-size)
|
(paint-at (/ (i32 (.y m)) cell-size)
|
||||||
(/ (i32 (.x m)) cell-size))))
|
(/ (i32 (.x m)) cell-size))))
|
||||||
(when (rl/mouse-button-released? :left) (next-color))
|
(when (rl/mouse-button-released? :mouse-left) (next-color))
|
||||||
(step))
|
(step))
|
||||||
|
|
||||||
(defn game-draw [] ()
|
(defn game-draw [] ()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user