Revision d140fd71
Added Sensors class that abstracts away sensors from behaviors. Stops creating
duplicated sensors for each scout.
scout/libscout/src/behaviors/navigationMap.cpp | ||
---|---|---|
48 | 48 |
* The map itself is represented as a dynamic array of edge arrays |
49 | 49 |
* @param the string name of the scout |
50 | 50 |
*/ |
51 |
navigationMap::navigationMap(string scoutname) : Behavior(scoutname, "navigationMap") |
|
51 |
navigationMap::navigationMap(string scoutname, Sensors* sensors) : |
|
52 |
Behavior(scoutname, "navigationMap", sensors) |
|
52 | 53 |
{ |
53 | 54 |
/** Initialize Map |
54 | 55 |
* _____ |
Also available in: Unified diff