Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6835 in orxonox.OLD for trunk/src/story_entities/story_entity.h


Ignore:
Timestamp:
Jan 29, 2006, 11:59:39 PM (20 years ago)
Author:
patrick
Message:

trunk: resturcture of the game menu for multi-level menus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/story_entity.h

    r6634 r6835  
    6767  /**  gets the story id of the current entity @returns story id */
    6868  inline int getNextStoryID() { return this->nextStoryID; }
    69 
     69  /** sets the name of this StoryEntity @param name name */
     70  inline void setName(const char* name) { this->name = name; }
     71  /** @returns the name of this StoryEntity */
     72  inline const char* getName() { return this->name; }
    7073
    7174
     
    7982    int storyID;           //!< this is the number of this entity, identifying it in a list/tree...
    8083    int nextStoryID;       //!< if this entity has finished, this entity shall be called
     84    const char* name;      //!< name of this StoryEntity
    8185};
    8286
Note: See TracChangeset for help on using the changeset viewer.