#ifndef CLIENT_ENTITY_ENTITY_HH_ #define CLIENT_ENTITY_ENTITY_HH_ #include "shared/entity/entity.hh" #include "shared/entity/player.hh" namespace client { class player; // forward declaration // A client::entity is a renderable shared::entity. class entity : virtual public shared::entity { public: entity(shared::entity& e) noexcept : shared::entity(std::forward(e)) {} entity(const proto::entity& e) noexcept : shared::entity(e) {} virtual ~entity() noexcept {} public: virtual void draw(const client::player& localplayer) noexcept = 0; virtual void draw_wts(const client::player& localplayer) noexcept = 0; }; } // namespace client #endif