Evolve herbs dynamically based on energy

This commit is contained in:
Petr Baudis 2011-11-27 07:33:48 +01:00
parent 4d697adc83
commit 0e1243f86f
7 changed files with 83 additions and 19 deletions

View file

@ -42,7 +42,7 @@ public:
void die(void);
void on_action_takes(void);
void on_tick(void);
virtual void on_tick(void);
void on_senses_update(void);
~agent();
@ -58,6 +58,8 @@ public:
attr.attack = 0;
attr.defense = 0;
}
void on_tick(void);
};
#endif