Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2005, 3:06:50 PM (20 years ago)
Author:
snellen
Message:

player.cc and player.h updated ( in ../src/world_entities)

File:
1 edited

Legend:

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

    r5864 r5872  
    1313class Weapon;
    1414class WeaponManager;
     15class Player;
    1516
    1617//! Basic controllable WorldEntity
     
    3031    virtual void addWeapon(Weapon* weapon )= 0;
    3132    virtual void removeWeapon(Weapon* weapon) = 0;
     33    WeaponManager* getWeaponManager();
    3234
     35    void subscribeEvents(Player* player);
    3336    virtual void process(const Event &event) = 0;
    3437    virtual void setKeySet();
    3538    inline const std::list<Event*>& getEventList() { return this->events; };
    36     WeaponManager* getWeaponManager();
     39
    3740
    3841  private:
Note: See TracChangeset for help on using the changeset viewer.