diff options
author | Aki <please@ignore.pl> | 2022-12-31 22:50:55 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-12-31 22:50:55 +0100 |
commit | 1e0cb31ec62a5895c475a52c4e0066672047416f (patch) | |
tree | 042f74b68d31bbf06d8cf0610c4a7ec69197f460 /sim/include | |
parent | 7c34183e2697356c603328b006415247d280455b (diff) | |
download | kurator-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.h | 1 |
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); }; |