mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
Action attack_dir(): Implement, trivially random now
This commit is contained in:
parent
0398856635
commit
0c29808836
5 changed files with 36 additions and 0 deletions
1
agent.h
1
agent.h
|
@ -25,6 +25,7 @@ public:
|
|||
};
|
||||
|
||||
bool move_dir(int dir_x, int dir_y);
|
||||
bool attack_dir(int dir_x, int dir_y);
|
||||
|
||||
void chenergy(int delta);
|
||||
void die(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue