mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
Get rid of class position
This commit is contained in:
parent
f622f79283
commit
56726a6c05
5 changed files with 40 additions and 43 deletions
2
main.cc
2
main.cc
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue