Changeset 8701 for code/branches/ai/src/orxonox/worldentities
- Timestamp:
- Jun 9, 2011, 11:40:54 PM (14 years ago)
- Location:
- code/branches/ai/src/orxonox/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai/src/orxonox/worldentities/ControllableEntity.cc
r7534 r8701 88 88 this->setPriority( Priority::VeryHigh ); 89 89 this->registerVariables(); 90 this->bIsRocket=false; 90 91 } 91 92 -
code/branches/ai/src/orxonox/worldentities/ControllableEntity.h
r7533 r8701 155 155 { return this->target_.get(); } 156 156 void setTargetInternal( uint32_t targetID ); 157 inline bool getRocket() const 158 {return this-> bIsRocket;} 157 159 158 160 protected: … … 168 170 169 171 Ogre::SceneNode* cameraPositionRootNode_; 172 bool bIsRocket; //Workaround to see, if the controllable entity is a Rocket. 170 173 171 174 private:
Note: See TracChangeset
for help on using the changeset viewer.