Changeset 6487 in orxonox.OLD for branches/powerups/src/world_entities/power_ups/param_power_up.h
- Timestamp:
- Jan 11, 2006, 4:18:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/power_ups/param_power_up.h
r6424 r6487 12 12 13 13 typedef enum EnumParamPowerUpType { 14 PARAM_SHIELD, 15 PARAM_size 14 POWERUP_PARAM_SHIELD, 15 POWERUP_PARAM_MAX_SHIELD, 16 POWERUP_PARAM_HEALTH, 17 POWERUP_PARAM_MAX_HEALTH, 18 POWERUP_PARAM_size 16 19 } EnumParamPowerUpType; 17 20 … … 23 26 virtual ~ParamPowerUp (); 24 27 25 void setValue( int value);26 void setMaxValue( int value);27 void setMinValue( int value);28 void setValue(float value); 29 void setMaxValue(float value); 30 void setMinValue(float value); 28 31 void setType(const char* type); 29 32 EnumParamPowerUpType getType(); 30 int getValue();33 float getValue(); 31 34 32 35 virtual int writeBytes(const byte* data, int length, int sender); … … 43 46 static const char* paramTypes[]; 44 47 EnumParamPowerUpType type; 45 int value;46 int max_value;47 int min_value;48 float value; 49 float max_value; 50 float min_value; 48 51 }; 49 52
Note: See TracChangeset
for help on using the changeset viewer.