Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/world_entities/extendable.h @ 9690

Last change on this file since 9690 was 9685, checked in by bensch, 18 years ago

adapted many classes to the new ClassID System, now comes the hard part… Scripting… then Network… wow this will be so bad :/

File size: 552 bytes
Line 
1/*!
2 * @file extendable.h
3 * @brief Interface for Worldentities that can pick up powerups.
4*/
5
6#ifndef _EXTENDABLE_H
7#define _EXTENDABLE_H
8
9#include "base_object.h"
10
11// FORWARD DECLARATION
12class PowerUp;
13
14
15#include "power_ups/power_up.h"
16//! A class for Extendable Entities
17class Extendable : virtual public BaseObject {
18  NewObjectListDeclaration(Extendable);
19
20  public:
21   virtual bool pickup(PowerUp* powerUp) { return false; };
22
23  protected:
24    Extendable() { this->registerObject(this, Extendable::_objectList); };
25};
26
27#endif /* _EXTENDABLE_H */
Note: See TracBrowser for help on using the repository browser.