#pragma once #include #include #include "creature.h" class Player : Creature { private: // Inventory inventory; public: Player(); Player(Player &rhs); Player &operator=(Player &rhs); void Init() override; void LevelUp() override; void Die() override; void TakeDamage(int damageType, float damage) override; float GetHealth() override; inline friend void swap(Player &lhs, Player &rhs) noexcept { using std::swap; swap(lhs.id, rhs.id); swap(lhs.name, rhs.name); swap(lhs.description, rhs.description); swap(lhs.stats, rhs.stats); swap(lhs.level, rhs.level); } ~Player(); };