9 lines
139 B
Fennel
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}
|
|
|