fixed robot :pos-x and :pos-y generation, so they're floats

This commit is contained in:
Richard Harrington 2013-08-13 14:53:34 -04:00
parent 3ba9aee7c6
commit af36cdebb6

View File

@ -14,8 +14,8 @@
(robot/init-robot
idx
program
{ :pos-x (rand-int width)
:pos-y (rand-int height)
{:pos-x (rand width)
:pos-y (rand height)
:aim 0.0
:damage 0.0}))
programs))