Changeset 9685 in orxonox.OLD for branches/new_class_id/src/world_entities/extendable.cc
- Timestamp:
- Aug 22, 2006, 1:16:23 PM (19 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/extendable.cc
r9683 r9685 1 /*! 2 * @file proto_class.h 3 * @brief Interface for Worldentities that can picku up powerups. 4 */ 1 #include "extendable.h" 5 2 6 #ifndef _EXTENDABLE_H 7 #define _EXTENDABLE_H 8 9 #include "base_object.h" 10 11 // FORWARD DECLARATION 12 class PowerUp; 13 14 #include "power_ups/power_up.h" 15 16 //! A class for ... 17 class Extendable : virtual public BaseObject { 18 19 public: 20 // virtual ~Extendable(); 21 virtual bool pickup(PowerUp* powerUp) { return false; }; 22 23 protected: 24 Extendable() { this->setClassID(CL_EXTENDABLE, "Extendable"); }; 25 26 private: 27 28 }; 29 30 #endif /* _EXTENDABLE_H */ 3 NewObjectListDefinition(Extendable);
Note: See TracChangeset
for help on using the changeset viewer.