Changeset 6109 in orxonox.OLD for branches/powerups/src/world_entities/power_ups
- Timestamp:
- Dec 14, 2005, 3:44:23 PM (19 years ago)
- Location:
- branches/powerups/src/world_entities/power_ups
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/power_ups/param_power_up.cc
r6107 r6109 16 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 17 17 18 #include " weapon_power_up.h"18 #include "param_power_up.h" 19 19 #include "factory.h" 20 20 #include "state.h" … … 29 29 30 30 CREATE_FACTORY(ParamPowerUp, CL_PARAM_POWER_UP); 31 32 const char* ParamPowerUp::paramTypes[] = { 33 "shield" 34 }; 31 35 32 36 ParamPowerUp::ParamPowerUp () : PowerUp(0.0, 0.0, 1.0) … … 112 116 } 113 117 114 const char* ParamPowerUp::paramTypes[] = {115 "shield"116 };117 118 118 -
branches/powerups/src/world_entities/power_ups/param_power_up.h
r6107 r6109 24 24 25 25 void setValue(int value); 26 void setType(EnumParamPowerUpType type) 26 void setMaxValue(int value); 27 void setMinValue(int value); 28 void setType(const char* type); 29 EnumParamPowerUpType getType(); 30 int getValue(); 27 31 28 32 protected: … … 34 38 35 39 private: 36 static const char* paramTypes ;40 static const char* paramTypes[]; 37 41 EnumParamPowerUpType type; 38 42 int value;
Note: See TracChangeset
for help on using the changeset viewer.