Class ScriptableEntity#

Class Documentation#

class ScriptableEntity#

Public Functions

constexpr ScriptableEntity() noexcept = default#

Constructor.

virtual constexpr ~ScriptableEntity() = default#

Destructor.

constexpr ScriptableEntity(const ScriptableEntity&) noexcept = default#

Copy constructor.

constexpr ScriptableEntity(ScriptableEntity&&) noexcept = default#

Move constructor.

constexpr ScriptableEntity &operator=(const ScriptableEntity&) noexcept = default#

Copy assignment operator.

constexpr ScriptableEntity &operator=(ScriptableEntity&&) noexcept = default#

Move assignment operator.

template<typename T>
inline T &GetComponent() const#

Protected Functions

inline virtual void OnCreate()#
inline virtual void OnDestroy()#
inline virtual void OnUpdate(const Utils::TimeStep &deltaTime)#
inline virtual void OnTick(const Utils::TimeStep &deltaTime)#