/* * ===================================================================================== * * Filename: Player.hpp * * Description: * * Created: 22/01/2019 23:46:45 * * Author: Quentin Bazin, * * ===================================================================================== */ #ifndef PLAYER_HPP_ #define PLAYER_HPP_ #include "Inventory.hpp" #include "ISerializable.hpp" class Player : public ISerializable { public: void serialize(sf::Packet &packet) override; void deserialize(sf::Packet &packet) override; Inventory &inventory() { return m_inventory; } protected: Inventory m_inventory{9, 4}; }; #endif // PLAYER_HPP_