Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2005, 3:33:46 PM (18 years ago)
Author:
bensch
Message:

orxonox/branches/spaceshipcontrol: compiles again

File:
1 edited

Legend:

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

    r5872 r5875  
    2121class Playable : public WorldEntity
    2222{
    23 
    2423  public:
    2524    Playable();
     
    2928    void loadParams(const TiXmlElement* root);
    3029
    31     virtual void addWeapon(Weapon* weapon )= 0;
    32     virtual void removeWeapon(Weapon* weapon) = 0;
    33     WeaponManager* getWeaponManager();
     30    virtual void addWeapon(Weapon* weapon )  {}//= 0;
     31    virtual void removeWeapon(Weapon* weapon) {}//= 0;
     32    inline WeaponManager* getWeaponManager() const { return this->weaponMan; };
    3433
    3534    void subscribeEvents(Player* player);
    36     virtual void process(const Event &event) = 0;
    37     virtual void setKeySet();
     35    virtual void process(const Event &event) {} //= 0;
     36    virtual void setKeySet() {};
    3837    inline const std::list<Event*>& getEventList() { return this->events; };
    3938
Note: See TracChangeset for help on using the changeset viewer.