diff options
Diffstat (limited to 'src/game/Tool.h')
| -rw-r--r-- | src/game/Tool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Tool.h b/src/game/Tool.h index f6327cf..c4f44bb 100644 --- a/src/game/Tool.h +++ b/src/game/Tool.h @@ -25,10 +25,13 @@ protected: int toolID; string toolName; string toolDescription; + float strength; public: Tool(int id, string name, string description, int r, int g, int b, VideoBuffer * (*textureGen)(int, int, int) = NULL); string GetName(); string GetDescription(); + void SetStrength(float value) { strength = value; } + float GetStrength() { return strength; } VideoBuffer * GetTexture(int width, int height); void SetTextureGen(VideoBuffer * (*textureGen)(int, int, int)); virtual ~Tool(); |
