mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
agent::on_senses_update(): Split off on_tick()
This commit is contained in:
parent
9c746310de
commit
f0d0bef899
3 changed files with 11 additions and 0 deletions
5
agent.cc
5
agent.cc
|
@ -30,6 +30,11 @@ agent::move_dir(int dir_x, int dir_y)
|
|||
|
||||
void
|
||||
agent::on_tick(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
agent::on_senses_update(void)
|
||||
{
|
||||
if (!conn)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue