- Timestamp:
- Dec 7, 2015, 4:06:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/ActionpointController.h
r10935 r10946 246 246 bool bDefaultPatrol_; 247 247 bool stop_; 248 static unsigned int sTicks_; 249 //<! track of ticks and if current tick is "assigned" to this object, than I call maneuver()/action()248 static unsigned int sTicks_; //<! a hack? I don't want action() and maneuver() to be called multiple times in a tick, so I keep 249 //<! track of ticks and if current tick is "assigned" to this object, than I call maneuver()/action() 250 250 static unsigned int nextActionpointControllerId_; //<! if level has 16 ActionpointControllers, than this variable equals to 17 after first tick 251 251 unsigned int actionpointControllerId_; //<! integer from 0 to nextActionpointControllerId_, different for every ActionpointController in level 252 unsigned int ticks_; //<! local tick counter 253 254 255 private: 256 252 unsigned int ticks_; //<! local tick counter 257 253 }; 258 254 }
Note: See TracChangeset
for help on using the changeset viewer.