Changeset 7486 in orxonox.OLD for trunk/src/util/game_rules.h
- Timestamp:
- May 2, 2006, 11:44:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/game_rules.h
r7483 r7486 33 33 /** adding an mission goal to the game rules @param missionGoal the mission goal to add */ 34 34 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); } 37 37 38 38 virtual void onPlayerSpawn() {} … … 54 54 std::vector<MissionGoal*> missionList; //!< list of mission goals 55 55 56 conststd::vector<Kill> killList; //!< list of kills in the world56 std::vector<Kill> killList; //!< list of kills in the world 57 57 }; 58 58
Note: See TracChangeset
for help on using the changeset viewer.