diff options
author | SpitfireX <timm.weber@me.com> | 2015-08-11 04:43:04 +0200 |
---|---|---|
committer | SpitfireX <timm.weber@me.com> | 2015-08-11 04:43:04 +0200 |
commit | bb709bd6ae7245d681ad2d401ba72e7ba96281f6 (patch) | |
tree | 5faf68054e0618916d6614a1cc5a626342aac1a7 /main.py | |
parent | 6b7c7479a3fb8afac15a506115b16b247b4c7680 (diff) |
Fixed render order and added bot input locking
- the render order is now strictly food < cells(small -> big) ->
viruses(small -> big)
- added the option to lock the bot input (b key)
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,8 @@ while True: color = (0,255,0) print("Nothing to do, heading to random targetination: " + str((rx, ry))) - c.send_target(target[0], target[1]) + if gui.bot_input: + c.send_target(target[0], target[1]) gui.draw_line(c.player.center, target, color) gui.update() stats.log_pos(c.player.center) |