Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2013, 10:18:39 PM (11 years ago)
Author:
jo
Message:

Creating new console command to set the lives in a mission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/Mission.h

    r9728 r9729  
    5555                {this->missionAccomplished_ = acc;}
    5656            static void endMission(bool accomplished);
     57            static void setLivesWrapper(unsigned int amount);
    5758
    5859        protected:
     
    6061            bool missionAccomplished_; //<! indicates if player successfully finsihed the mission;
    6162            int lives_; //<! amount of player's lives <-> nr. of retries
    62             //Make end() a callback function to the event "END"
    63             //or create a console command.
    64 
     63            //<! If the lives_ are set negative -> unlimited lives.
    6564    };
    6665}
Note: See TracChangeset for help on using the changeset viewer.