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

1
map.h
View file

@ -19,6 +19,7 @@ public:
char *str(void);
class tile &tile_in_dir(int dir_x, int dir_y);
bool herb_here(void);
virtual bool on_agent_enter(class agent &);
virtual void on_agent_leave(class agent &);