Support for command input

For starters, 'move_dir x y' command is supported.
This commit is contained in:
Petr Baudis 2011-11-27 02:14:57 +01:00
parent 92940b6054
commit de6a4d656f
5 changed files with 73 additions and 3 deletions

View file

@ -28,6 +28,15 @@ agent::move_dir(int dir_x, int dir_y)
return true;
}
void
agent::on_action_takes(void)
{
if (!conn)
return;
conn->actions(this);
}
void
agent::on_tick(void)
{