Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 31, 2005, 2:32:08 PM (18 years ago)
Author:
patrick
Message:

network: thown some old story entity functions away

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/story_entity.cc

    r6153 r6371  
    2323
    2424
    25 
     25/**
     26 * default constructor initializes all needed data
     27 */
    2628StoryEntity::StoryEntity ()
    2729{
     
    3335}
    3436
     37
     38/** deconstructor
     39 */
    3540StoryEntity::~StoryEntity () {}
    3641
    3742
    38 /**
    39   *  sets the story ID
    40 
    41     sets the story id of the current entity, this enables it to be identified in a
    42     global context.
    43 */
    44 void StoryEntity::setStoryID(int storyID)
    45 {
    46   this->storyID = storyID;
    47 }
    48 
    49 
    50 /**
    51   *  this reads the story id of the current entity
    52   * @returns the story entity id
    53 */
    54 int StoryEntity::getStoryID()
    55 {
    56   return this->storyID;
    57 }
    58 
    59 
    60 /**
    61   *  sets the id of the next story entity
    62 
    63     StoryEntities can choose their following entity themselfs. the entity id defined here
    64     will be startet after this entity ends. this can be convenient if you want to have a
    65     non linear story with switches.
    66 */
    67 void StoryEntity::setNextStoryID(int nextStoryID)
    68 {
    69   this->nextStoryID = nextStoryID;
    70 }
    71 
    72 /**
    73   *  gets the story id of the current entity
    74   * @returns story id
    75 */
    76 int StoryEntity::getNextStoryID()
    77 {
    78   return this->nextStoryID;
    79 }
Note: See TracChangeset for help on using the changeset viewer.