Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10408 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 549 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  ObjectListDeclaration(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.