Changeset 7400 in orxonox.OLD for trunk/src/util/game_rules.h
- Timestamp:
- Apr 27, 2006, 4:34:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/game_rules.h
r7044 r7400 9 9 10 10 #include "base_object.h" 11 #include <vector> 11 12 12 13 … … 14 15 class ObjectManager; 15 16 class Player; 17 class MissionGoal; 16 18 17 19 … … 24 26 25 27 virtual void loadParams(const TiXmlElement* root = NULL); 28 29 30 /** adding an mission goal to the game rules @param missionGoal the mission goal to add */ 31 inline void addMissionGoal(MissionGoal* missionGoal) { this->missionList.push_back(missionGoal); } 26 32 27 33 … … 40 46 41 47 protected: 42 ObjectManager* pObjectManager; //!< reference to the current Object Manager 43 Player* localPlayer; //!< reference to the local player 48 ObjectManager* pObjectManager; //!< reference to the current Object Manager 49 Player* localPlayer; //!< reference to the local player 50 std::vector<MissionGoal*> missionList; //!< list of mission goals 44 51 }; 45 52
Note: See TracChangeset
for help on using the changeset viewer.