Get rid of class position

This commit is contained in:
Petr Baudis 2011-11-26 20:40:05 +01:00
parent f622f79283
commit 56726a6c05
5 changed files with 40 additions and 43 deletions

View file

@ -8,7 +8,7 @@ main(int argc, char *argv[])
{
class map map(10, 10);
class position agentpos(4, 4, map);
class tile &agentpos = map.tile_at(4, 4);
class agent agent(0, agentpos);
map.print_map();