agent::chenergy(): Implement

This commit is contained in:
Petr Baudis 2011-11-27 04:01:58 +01:00
parent d120fcc938
commit 0398856635
3 changed files with 13 additions and 6 deletions

View file

@ -3,7 +3,7 @@
struct world {
const static int newborn_energy = 500;
const static int move_cost = 10;
const static int move_cost = -10;
const static int sun_energy = 1;
const static int dead_body_energy = 500;