Introduce pheromones

This commit is contained in:
Petr Baudis 2011-12-07 23:54:03 +01:00
parent 61cc3ef015
commit a821e72661
9 changed files with 133 additions and 1 deletions

3
map.h
View file

@ -1,6 +1,8 @@
#ifndef BRMLIFE__MAP_H
#define BRMLIFE__MAP_H
#include "pheromone.h"
class agent;
class map;
@ -10,6 +12,7 @@ public:
class map ↦
class agent *agent;
class pheromones pheromones;
tile(int x_, int y_, class map &map_)
: x(x_), y(y_), map(map_), agent(NULL) {};