mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
connnection::senses(): Sanitize interface, take just agent&
This commit is contained in:
parent
9dcb3c543a
commit
415475cd26
3 changed files with 21 additions and 14 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
close(fd);
|
||||
}
|
||||
|
||||
void senses(int tick_id, bool dead, int energy, char around[8]);
|
||||
void senses(int tick_id, class agent &);
|
||||
void actions(class agent *);
|
||||
|
||||
void cancel(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue