mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
agent::chenergy(): Implement
This commit is contained in:
parent
d120fcc938
commit
0398856635
3 changed files with 13 additions and 6 deletions
2
world.h
2
world.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue