diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-25 17:30:58 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-25 17:31:09 +0200 |
commit | 8386ae0e63313ffc5d0fefebda8451d982679e01 (patch) | |
tree | aac4a1295717a10cfa30bd44f31810da177df8e4 /main.py | |
parent | 96ab1a8f44caf4f90148842fd826a8698ce144c5 (diff) |
process.frame() in stats.py, no functional changes
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ from strategy import * sub = EnhancingSubscriber() c = client.Client(sub) sub.set_client(c) -stats = stats.Stats() +stats = stats.Stats(c) try: nick = sys.argv[2] @@ -69,8 +69,8 @@ while True: if gui.bot_input: c.send_target(target[0], target[1]) - stats.log_pos(c.player.center) - stats.log_mass(c.player.total_mass) + stats.process_frame() + gui.update() if not c.player.is_alive: |