67 virtual void Update(
float deltaTime) = 0;
virtual ~Component()=default
virtual void LateUpdate(float deltaTime)
virtual void FixedUpdate(float fixedDeltaTime)
Component(GameObject *object)
virtual bool Initialize()=0
One-time setup, called after the component is attached and the owner is initialized.
virtual void OnDestroy()
Called when the component is detached or the owner is destroyed.
virtual void Update(float deltaTime)=0
Object(const std::string &name="Object")
Root namespace for everything the engine exposes.