9 lines
139 B
Plaintext
9 lines
139 B
Plaintext
|
(local state (require :game.state))
|
||
|
|
||
|
(fn collide [axis entity d]
|
||
|
(+ (. entity axis) d))
|
||
|
|
||
|
(fn place-bomb [x y])
|
||
|
{: collide : place-bomb}
|
||
|
|