Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2005, 5:37:17 PM (18 years ago)
Author:
bensch
Message:

controll documentation

File:
1 edited

Legend:

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

    r5896 r5898  
    2525    virtual ~Playable();
    2626
    27     void init();
    2827
    2928    virtual void addWeapon(Weapon* weapon )  {}//= 0;
     
    3433    bool unsubscribePlayer(Player* player);
    3534
    36     virtual void process(const Event &event) {} //= 0;
     35    virtual void process(const Event &event) = 0;
     36
     37
     38    /** @return a List of Events in PEV_* sytle */
    3739    inline const std::list<int>& getEventList() { return this->events; };
    3840
     
    4244
    4345  private:
     46    void init();
    4447
     48  private:
    4549    WeaponManager*        weaponMan;          //!< the weapon manager: managing a list of weapon to wepaon-slot mapping
    46     std::list<int>        events;
     50    std::list<int>        events;             //!< A list of Events, that are captured for this playable
    4751
    48     Player*               currentPlayer;
     52    Player*               currentPlayer;      //!< The Player currently connected to this Playable (the one that has controll) otherwise NULL
    4953
    5054};
Note: See TracChangeset for help on using the changeset viewer.