Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2005, 7:17:22 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: derivations work.
now the only thing to do is specify all the classes, and DO it CLEAN.

@patrick: is it ok, how i treated your ObjectManager??

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/story_entity.cc

    r3629 r4592  
    11
    22
    3 /* 
     3/*
    44   orxonox - the future of 3D-vertical-scrollers
    55
     
    1313   ### File Specific:
    1414   main-programmer: Patrick Boenzli
    15    co-programmer: 
     15   co-programmer:
    1616*/
    1717
     
    2424
    2525
    26 StoryEntity::StoryEntity () {}
     26StoryEntity::StoryEntity ()
     27{
     28  this->setClassID(CL_STORY_ENTITY);
     29}
    2730StoryEntity::~StoryEntity () {}
    2831
    2932
    30 /** 
     33/**
    3134    \brief sets the story ID
    3235
    33     sets the story id of the current entity, this enables it to be identified in a 
     36    sets the story id of the current entity, this enables it to be identified in a
    3437    global context.
    3538*/
     
    4043
    4144
    42 /** 
     45/**
    4346    \brief this reads the story id of the current entity
    4447    \returns the story entity id
     
    5053
    5154
    52 /** 
     55/**
    5356    \brief sets the id of the next story entity
    54    
     57
    5558    StoryEntities can choose their following entity themselfs. the entity id defined here
    5659    will be startet after this entity ends. this can be convenient if you want to have a
     
    6265}
    6366
    64 /** 
     67/**
    6568    \brief gets the story id of the current entity
    6669    \returns story id
     
    8184{}
    8285
    83 /** 
     86/**
    8487    \brief loads the current entity
    8588
     
    9295
    9396
    94 /** 
    95     \brief initialize the entity before use. 
     97/**
     98    \brief initialize the entity before use.
    9699    \returns an error code if not able to apply.
    97100
    98     After execution of this function, the Entity is ready to be played/executed, 
     101    After execution of this function, the Entity is ready to be played/executed,
    99102    this shifts the initialisation work before the execution - very important...
    100103    init() is exec shortly before start()
     
    104107
    105108
    106 /** 
     109/**
    107110    \brief starts the entity with the choosen id. only for entities with lists.
    108111    \param story id
     
    118121
    119122
    120 /** 
     123/**
    121124    \brief starts the current entity
    122     \returns error code if this action has caused a error   
     125    \returns error code if this action has caused a error
    123126*/
    124127ErrorMessage StoryEntity::start()
     
    126129
    127130
    128 /** 
     131/**
    129132    \brief pause the current entity
    130133    \returns error code if this action has caused a error
     
    136139
    137140
    138 /** 
     141/**
    139142    \brief resumes a pause
    140143    \returns error code if this action has caused a error
     
    146149
    147150
    148 /** 
     151/**
    149152    \brief stops the current entity
    150153    \returns error code if this action has caused a error
     
    160163
    161164
    162 /** 
    163     \brief destroys and cleans up the current entity. 
     165/**
     166    \brief destroys and cleans up the current entity.
    164167
    165     this cleans up ressources before the deconstructor is called. for terminating 
     168    this cleans up ressources before the deconstructor is called. for terminating
    166169    the entity please use the stop() function.
    167170*/
     
    170173
    171174
    172 /** 
     175/**
    173176    \brief this displays the load screen
    174177
    175     it will need some time to load maps or things like that. to inform the user about 
     178    it will need some time to load maps or things like that. to inform the user about
    176179    progress and to just show him/her something for the eyes, put here this stuff
    177180*/
     
    180183
    181184
    182 /** 
     185/**
    183186    \brief undisplay the load screen
    184187
Note: See TracChangeset for help on using the changeset viewer.