December 2014 files
This commit is contained in:
21
Minecraft.World/RangedAttribute.h
Normal file
21
Minecraft.World/RangedAttribute.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "BaseAttribute.h"
|
||||
|
||||
class RangedAttribute : public BaseAttribute
|
||||
{
|
||||
private:
|
||||
double minValue;
|
||||
double maxValue;
|
||||
|
||||
public:
|
||||
RangedAttribute(eATTRIBUTE_ID id, double defaultValue, double minValue, double maxValue);
|
||||
|
||||
double getMinValue();
|
||||
double getMaxValue();
|
||||
double sanitizeValue(double value);
|
||||
|
||||
// 4J: Removed legacy name
|
||||
//RangedAttribute *importLegacyName(const wstring &name);
|
||||
//wstring getImportLegacyName();
|
||||
};
|
||||
Reference in New Issue
Block a user