mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
agent::move_dir(): Implement
This commit is contained in:
parent
56726a6c05
commit
b305a41cfc
3 changed files with 24 additions and 0 deletions
2
agent.h
2
agent.h
|
@ -13,6 +13,8 @@ public:
|
|||
put_at(tile_);
|
||||
};
|
||||
|
||||
bool move_dir(int dir_x, int dir_y);
|
||||
|
||||
private:
|
||||
/* Just for initial placement. */
|
||||
void put_at(class tile &tile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue