sand.flan speaks the prefixed enum keywords

This commit is contained in:
Joseph Ferano 2026-09-20 21:55:23 +07:00
parent 86091541d4
commit 612696d880

View File

@ -92,12 +92,12 @@
h))
(defn game-update [] ()
(when (rl/key-pressed? :r) (clear-grid))
(when (rl/mouse-button-down? :left)
(when (rl/key-pressed? :key-r) (clear-grid))
(when (rl/mouse-button-down? :mouse-left)
(let [m (rl/get-mouse-position)]
(paint-at (/ (i32 (.y 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))
(defn game-draw [] ()