Changeset 5877 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/playable.h
- Timestamp:
- Dec 2, 2005, 4:27:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/playable.h
r5876 r5877 35 35 virtual void process(const Event &event) {} //= 0; 36 36 virtual void setKeySet() {}; 37 inline const std::list< Event*>& getEventList() { return this->events; };37 inline const std::list<int>& getEventList() { return this->events; }; 38 38 39 protected: 40 void registerEvent(int eventType); 39 41 40 42 private: 41 43 42 44 WeaponManager* weaponMan; //!< the weapon manager: managing a list of weapon to wepaon-slot mapping 43 std::list< Event*>events;45 std::list<int> events; 44 46 //todo: add a event to id mapping list 45 47
Note: See TracChangeset
for help on using the changeset viewer.