- Timestamp:
- Dec 7, 2015, 8:42:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/ActionpointController.h
r10946 r10953 35 35 #include "../modules/pickup/PickupSpawner.h" 36 36 #include <map> 37 38 #include <boost/shared_ptr.hpp> 37 39 38 40 … … 246 248 bool bDefaultPatrol_; 247 249 bool stop_; 248 static unsigned int sTicks_; //<! a hack? I don't want action() and maneuver() to be called multiple times in a tick, so I keep249 //<! track of ticks and if current tick is "assigned" to this object, than I call maneuver()/action()250 static unsigned int nextActionpointControllerId_; //<! if level has 16 ActionpointControllers, than this variable equals to 17 after first tick251 unsigned int actionpointControllerId_; //<! integer from 0 to nextActionpointControllerId_, different for every ActionpointController in level252 250 unsigned int ticks_; //<! local tick counter 251 253 252 }; 254 253 }
Note: See TracChangeset
for help on using the changeset viewer.










