Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2005, 4:27:53 PM (18 years ago)
Author:
bensch
Message:

controll: registerEvent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/playable.h

    r5876 r5877  
    3535    virtual void process(const Event &event) {} //= 0;
    3636    virtual void setKeySet() {};
    37     inline const std::list<Event*>& getEventList() { return this->events; };
     37    inline const std::list<int>& getEventList() { return this->events; };
    3838
     39  protected:
     40    void registerEvent(int eventType);
    3941
    4042  private:
    4143
    4244    WeaponManager*        weaponMan;          //!< the weapon manager: managing a list of weapon to wepaon-slot mapping
    43     std::list<Event*>     events;
     45    std::list<int>        events;
    4446    //todo: add a event to id mapping list
    4547
Note: See TracChangeset for help on using the changeset viewer.