Changeset 9869 in orxonox.OLD for trunk/src/world_entities/extendable.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/extendable.h
r6282 r9869 1 1 /*! 2 * @file proto_class.h3 * @brief Interface for Worldentities that can pick uup powerups.2 * @file extendable.h 3 * @brief Interface for Worldentities that can pick up powerups. 4 4 */ 5 5 … … 12 12 class PowerUp; 13 13 14 14 15 #include "power_ups/power_up.h" 15 16 //! A class for ... 16 //! A class for Extendable Entities 17 17 class Extendable : virtual public BaseObject { 18 ObjectListDeclaration(Extendable); 18 19 19 20 public: 20 // virtual ~Extendable();21 21 virtual bool pickup(PowerUp* powerUp) { return false; }; 22 22 23 23 protected: 24 Extendable() { this->setClassID(CL_EXTENDABLE, "Extendable"); }; 25 26 private: 27 24 Extendable() { this->registerObject(this, Extendable::_objectList); }; 28 25 }; 29 26
Note: See TracChangeset
for help on using the changeset viewer.