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