mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-05-28 23:41:31 +00:00
added back in the icon attribute for robots, currently just the char of their idx
This commit is contained in:
parent
e01d375bb3
commit
6b573d8a9b
|
@ -12,7 +12,8 @@
|
|||
(robot/init-robot
|
||||
idx
|
||||
program
|
||||
{:pos-x (rand-int width)
|
||||
{:icon (str idx)
|
||||
:pos-x (rand-int width)
|
||||
:pos-y (rand-int height)
|
||||
:aim 0.0
|
||||
:damage 0.0}))
|
||||
|
|
Loading…
Reference in New Issue
Block a user