Changeset 6837 in orxonox.OLD for trunk/src/story_entities/story_entity.h
- Timestamp:
- Jan 30, 2006, 12:28:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/story_entity.h
r6835 r6837 71 71 /** @returns the name of this StoryEntity */ 72 72 inline const char* getName() { return this->name; } 73 /** sets the descroption of this StoryEntity @param name name */ 74 inline void setDescription(const char* description) { this->description = description; } 75 /** @returns the description of this StoryEntity */ 76 inline const char* getDescription() { return this->description; } 73 77 74 78 75 79 protected: 76 bool isInit; //!< if the entity is initialized, this has to be true.77 bool isRunning; //!< is true if the entity is running78 bool isPaused; //!< is true if the entity is paused80 bool isInit; //!< if the entity is initialized, this has to be true. 81 bool isRunning; //!< is true if the entity is running 82 bool isPaused; //!< is true if the entity is paused 79 83 80 84 81 85 private: 82 int storyID; //!< this is the number of this entity, identifying it in a list/tree... 83 int nextStoryID; //!< if this entity has finished, this entity shall be called 84 const char* name; //!< name of this StoryEntity 86 int storyID; //!< this is the number of this entity, identifying it in a list/tree... 87 int nextStoryID; //!< if this entity has finished, this entity shall be called 88 const char* name; //!< name of this StoryEntity 89 const char* description;//!< the description of the StoryEntity 85 90 }; 86 91
Note: See TracChangeset
for help on using the changeset viewer.