summaryrefslogtreecommitdiff
path: root/sim/include
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-31 22:50:55 +0100
committerAki <please@ignore.pl>2022-12-31 22:50:55 +0100
commit1e0cb31ec62a5895c475a52c4e0066672047416f (patch)
tree042f74b68d31bbf06d8cf0610c4a7ec69197f460 /sim/include
parent7c34183e2697356c603328b006415247d280455b (diff)
downloadkurator-1e0cb31ec62a5895c475a52c4e0066672047416f.zip
kurator-1e0cb31ec62a5895c475a52c4e0066672047416f.tar.gz
kurator-1e0cb31ec62a5895c475a52c4e0066672047416f.tar.bz2
Extracted method to deal damage to hit points
Diffstat (limited to 'sim/include')
-rw-r--r--sim/include/kurator/sim/HitPoints.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/include/kurator/sim/HitPoints.h b/sim/include/kurator/sim/HitPoints.h
index 20cffc2..feda050 100644
--- a/sim/include/kurator/sim/HitPoints.h
+++ b/sim/include/kurator/sim/HitPoints.h
@@ -10,6 +10,7 @@ namespace sim
struct HitPoints
{
double health;
+ void deal(double damage);
};