#include "enemy.hpp" Enemy::Enemy(int health) noexcept : _health(health) {} auto Enemy::get_health() const noexcept -> int { return _health; } void Enemy::do_damage(int damage) noexcept { _health -= damage; }