Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 1:16:23 PM (19 years ago)
Author:
bensch
Message:

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

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"
    52
    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 */
     3NewObjectListDefinition(Extendable);
Note: See TracChangeset for help on using the changeset viewer.