summaryrefslogtreecommitdiff
path: root/universe/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-27 23:40:59 +0100
committerAki <please@ignore.pl>2023-02-27 23:40:59 +0100
commit5f59cc347bcfd2236f01532511974078aacde980 (patch)
tree2c0367ecb0aa860ce95fbba6f2cfd062473b5bec /universe/include
parent54fdda07eb769df0075784d4f7311ec2ec13fbba (diff)
downloadkurator-5f59cc347bcfd2236f01532511974078aacde980.zip
kurator-5f59cc347bcfd2236f01532511974078aacde980.tar.gz
kurator-5f59cc347bcfd2236f01532511974078aacde980.tar.bz2
Extracted range modifier into own method
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 c7ba5a3..c00c2ea 100644
--- a/universe/include/kurator/universe/TurretType.h
+++ b/universe/include/kurator/universe/TurretType.h
@@ -20,6 +20,7 @@ struct TurretType
double falloff_modifier = 0.05;
double falloff_intensity = 0.2;
double effective_damage(double distance) const;
+ double range_modifier(double distance) const;
double effective_range() const;
double damage_per_second() const;
};