Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/extendable.h @ 6306

Last change on this file since 6306 was 6282, checked in by bensch, 18 years ago

orxonox/trunk: merged the PowerUps back here

File size: 536 bytes
RevLine 
[4838]1/*!
2 * @file proto_class.h
[5874]3 * @brief Interface for Worldentities that can picku up powerups.
[3245]4*/
[1853]5
[5871]6#ifndef _EXTENDABLE_H
7#define _EXTENDABLE_H
[1853]8
[5965]9#include "base_object.h"
10
[4838]11// FORWARD DECLARATION
[5965]12class PowerUp;
[3543]13
[5985]14#include "power_ups/power_up.h"
[3543]15
[3955]16//! A class for ...
[5965]17class Extendable : virtual public BaseObject {
[1853]18
[6282]19  public:
20   //   virtual ~Extendable();
[5985]21   virtual bool pickup(PowerUp* powerUp) { return false; };
[1853]22
[6282]23  protected:
24    Extendable() { this->setClassID(CL_EXTENDABLE, "Extendable"); };
[3245]25
[6282]26  private:
27
[1853]28};
29
[5871]30#endif /* _EXTENDABLE_H */
Note: See TracBrowser for help on using the repository browser.