Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 11, 2006, 4:18:14 PM (18 years ago)
Author:
manuel
Message:

moved pickup from spaceship to playable. playable can now pickup health and max-health powerups

File:
1 edited

Legend:

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

    r6444 r6487  
    88
    99#include "world_entity.h"
     10#include "extendable.h"
    1011#include "event.h"
    1112#include <list>
     
    2122 *
    2223 */
    23 class Playable : public WorldEntity
     24class Playable : public WorldEntity, public Extendable
    2425{
    2526  public:
     
    2930    virtual void enter()=0;
    3031    virtual void leave()=0;
     32
     33    virtual bool pickup(PowerUp* powerUp);
    3134
    3235    void addWeapon(Weapon* weapon, int configID = -1, int slotID = -1);
Note: See TracChangeset for help on using the changeset viewer.