#pragma once #include "backend/String.h" class Enemy { public: void set_name(const String & name); const String & get_name() const; void set_description(const String & description); const String & get_description() const; unsigned get_health() const; private: friend class EnemyFactory; Enemy(const String & name, const String & description); public: virtual ~Enemy() = default; private: String name; String description; unsigned int health_points = 0; };