summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/ovision/map.h
diff options
context:
space:
mode:
Diffstat (limited to '2004/i/nono/src/ovision/map.h')
-rw-r--r--2004/i/nono/src/ovision/map.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/2004/i/nono/src/ovision/map.h b/2004/i/nono/src/ovision/map.h
index e0b64a0..c940bca 100644
--- a/2004/i/nono/src/ovision/map.h
+++ b/2004/i/nono/src/ovision/map.h
@@ -7,6 +7,8 @@
#include <list>
#include "group.h"
#include "oconfig.h"
+#include "space.h"
+
#define LOCKED 1
#define UNLOCKED 0
@@ -43,6 +45,7 @@ class Map
{
/// Variables configurables
OConfig *config;
+ Space *space;
/// position des goals
int posGoal[2];
@@ -80,10 +83,10 @@ class Map
int zoneRobot;
/// Permet de savoir si une balle est dans curBall
- bool CheckCurBall;
+ bool checkCurBall;
/// Constructeurs.
- Map (OConfig *config);
+ Map (OConfig *config, Space *space);
/// Destructeur.
~Map (void);
@@ -105,7 +108,7 @@ class Map
/// Accessors
- std::list<BALL>::iterator GetCurBall();
+ const std::list<BALL>::iterator &GetCurBall();
protected: