map::agent_startpos(): Introduce, abstract out from main loop

This commit is contained in:
Petr Baudis 2011-11-27 00:38:31 +01:00
parent ea4f18b642
commit ec3897b29b
3 changed files with 16 additions and 6 deletions

2
map.h
View file

@ -55,6 +55,8 @@ public:
return *tiles[y * w + x];
};
class tile &agent_startpos(void);
void on_tick(void);
void print_map(void);