Changeset 6804 in orxonox.OLD for trunk/src/world_entities/playable.h
- Timestamp:
- Jan 28, 2006, 11:29:03 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.h
r6568 r6804 25 25 { 26 26 public: 27 Playable();28 27 virtual ~Playable(); 29 28 … … 49 48 50 49 virtual void collidesWith(WorldEntity* entity, const Vector& location); 51 virtual void process(const Event &event) = 0;50 virtual void process(const Event &event); 52 51 53 52 virtual void tick(float dt); 54 53 55 54 /** @return a List of Events in PEV_* sytle */ … … 57 56 58 57 protected: 58 Playable(); 59 59 60 void registerEvent(int eventType); 60 61 void unregisterEvent(int eventType); … … 66 67 Player* currentPlayer; //!< The Player currently connected to this Playable (the one that has controll) otherwise NULL 67 68 69 bool bFire; //!< If the Ship is firing. 70 68 71 }; 69 72
Note: See TracChangeset
for help on using the changeset viewer.