Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7486 in orxonox.OLD for trunk/src/util/game_rules.h


Ignore:
Timestamp:
May 2, 2006, 11:44:10 PM (19 years ago)
Author:
patrick
Message:

orxonox: kill event redesigned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/game_rules.h

    r7483 r7486  
    3333    /** adding an mission goal to the game rules @param missionGoal the mission goal to add */
    3434    inline void addMissionGoal(MissionGoal* missionGoal) { this->missionList.push_back(missionGoal); }
    35 
    36     inline void registerKill(const Kill& kill) { /*this->killList.push_back(kill);*/ }
     35    /** adding a kill event to the kill list @param kill the kill object containing all infos */
     36    inline void registerKill(const Kill& kill) { this->killList.push_back(kill); }
    3737
    3838    virtual void onPlayerSpawn() {}
     
    5454    std::vector<MissionGoal*>   missionList;            //!< list of mission goals
    5555
    56     const std::vector<Kill>          killList;               //!<  list of kills in the world
     56    std::vector<Kill>          killList;               //!<  list of kills in the world
    5757};
    5858
Note: See TracChangeset for help on using the changeset viewer.