.. _program_listing_file_gui_Demeter_Entity.hpp: Program Listing for File Entity.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``gui/Demeter/Entity.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include namespace Dem { struct Demeter; class IEntity : public std::enable_shared_from_this { public: virtual ~IEntity() = default; [[nodiscard]] virtual bool Init(Demeter &d) = 0; [[nodiscard]] virtual bool Update(Demeter &d) = 0; [[nodiscard]] virtual bool Draw(Demeter &d) = 0; }; } // namespace Dem