edtris/game/rules.fnl
2021-02-07 16:56:19 -05:00

9 lines
139 B
Fennel

(local state (require :game.state))
(fn collide [axis entity d]
(+ (. entity axis) d))
(fn place-bomb [x y])
{: collide : place-bomb}