summaryrefslogtreecommitdiff
path: root/src/controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.h')
-rw-r--r--src/controller.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/controller.h b/src/controller.h
index 7bd1d334..327faa5f 100644
--- a/src/controller.h
+++ b/src/controller.h
@@ -46,6 +46,18 @@ class Controlled: public Being
*/
virtual void die();
+ protected:
+ /**
+ * Gets the stats of the currently equipped weapon that are relevant
+ * for damage calculation
+ */
+ virtual WeaponStats getWeaponStats();
+
+ /**
+ * Calculates all derived attributes
+ */
+ void calculateDerivedAttributes();
+
private:
/** Count down till next random movement (temporary). */
unsigned int mCountDown;