diff options
Diffstat (limited to 'sim/src')
-rw-r--r-- | sim/src/HitPoints.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/src/HitPoints.cpp b/sim/src/HitPoints.cpp index da980f1..28cf7f7 100644 --- a/sim/src/HitPoints.cpp +++ b/sim/src/HitPoints.cpp @@ -21,5 +21,12 @@ HitPoints::is_alive() const } +double +HitPoints::total() const +{ + return health; +} + + } // namespace sim } // namespace kurator |