Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

network: more cleanup in the StoryEntity, thightening the interface and function renames

File:
1 edited

Legend:

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

    r6371 r6372  
    1919  virtual ~StoryEntity ();
    2020
    21   // INIT AND LOAD //
    22   /** initializes a Story Entity to default Values */
     21  /* initialisation and loading */
     22  /** initializes a Story Entity to the needed values */
    2323  virtual ErrorMessage init() {};
    24   /** called before loading */
    25   virtual ErrorMessage preLoad() {};
    26   /** called to load. */
    27   virtual ErrorMessage load() {};
    28   /** called right after loading */
    29   virtual ErrorMessage postLoad() {};
    30   /** called after postload to check for integrity. (optional) */
    31   virtual ErrorMessage check() {};
     24  /** called to load the data into the story entity */
     25  virtual ErrorMessage loadData() {};
    3226
    33   // RUNNING //
     27  /* running, stopping and pausing */
    3428  /** called shortly before starting the Entity */
    3529  virtual ErrorMessage preStart() {};
Note: See TracChangeset for help on using the changeset viewer.