Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6804 in orxonox.OLD for trunk/src/world_entities/playable.h


Ignore:
Timestamp:
Jan 28, 2006, 11:29:03 AM (20 years ago)
Author:
bensch
Message:

trunk: remastered Playables a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.h

    r6568 r6804  
    2525{
    2626  public:
    27     Playable();
    2827    virtual ~Playable();
    2928
     
    4948
    5049    virtual void collidesWith(WorldEntity* entity, const Vector& location);
    51     virtual void process(const Event &event) = 0;
     50    virtual void process(const Event &event);
    5251
    53 
     52    virtual void tick(float dt);
    5453
    5554    /** @return a List of Events in PEV_* sytle */
     
    5756
    5857  protected:
     58    Playable();
     59
    5960    void registerEvent(int eventType);
    6061    void unregisterEvent(int eventType);
     
    6667    Player*               currentPlayer;      //!< The Player currently connected to this Playable (the one that has controll) otherwise NULL
    6768
     69    bool                  bFire;              //!< If the Ship is firing.
     70
    6871};
    6972
Note: See TracChangeset for help on using the changeset viewer.