summaryrefslogtreecommitdiff
path: root/universe/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-12 18:38:14 +0100
committerAki <please@ignore.pl>2022-12-12 18:38:14 +0100
commitf315fbc3406b13aef4712d391661fad6bcf4872c (patch)
tree7b768545b3aff91ac31387b954b06942f8ca9564 /universe/include
parent97257c552c546c1924ccc9348f0ad7a95dea169b (diff)
downloadkurator-f315fbc3406b13aef4712d391661fad6bcf4872c.zip
kurator-f315fbc3406b13aef4712d391661fad6bcf4872c.tar.gz
kurator-f315fbc3406b13aef4712d391661fad6bcf4872c.tar.bz2
Extracted effective damage calculation to universe
Diffstat (limited to 'universe/include')
-rw-r--r--universe/include/kurator/universe/TurretType.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/universe/include/kurator/universe/TurretType.h b/universe/include/kurator/universe/TurretType.h
index 7723d88..ff67cfe 100644
--- a/universe/include/kurator/universe/TurretType.h
+++ b/universe/include/kurator/universe/TurretType.h
@@ -17,6 +17,7 @@ struct TurretType
double optimal_range;
double falloff_modifier;
double falloff_intensity;
+ double effective_damage(double distance) const;
};