Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2005, 5:57:39 PM (19 years ago)
Author:
bensch
Message:

const getEvent and also inline

File:
1 edited

Legend:

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

    r5854 r5855  
    3636    virtual void setKeySet();
    3737    virtual void getKeySet();
    38     std::list<Event*> getEventList();
     38    inline const std::list<Event*>& getEventList() { return this->events; };
    3939    WeaponManager* getWeaponManager();
    4040
     
    4242
    4343    WeaponManager*        weaponMan;          //!< the weapon manager: managing a list of weapon to wepaon-slot mapping
    44     std::list<Event*>*     events;
     44    std::list<Event*>     events;
    4545
    4646
Note: See TracChangeset for help on using the changeset viewer.