mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
map::agent_startpos(): Introduce, abstract out from main loop
This commit is contained in:
parent
ea4f18b642
commit
ec3897b29b
3 changed files with 16 additions and 6 deletions
2
map.h
2
map.h
|
@ -55,6 +55,8 @@ public:
|
|||
return *tiles[y * w + x];
|
||||
};
|
||||
|
||||
class tile &agent_startpos(void);
|
||||
|
||||
void on_tick(void);
|
||||
|
||||
void print_map(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue