10 static std::string GetType() {
return "Animator"; };
14 uint16 currentFrame = 0;
Defines the GameObject class and its related components.
Defines the Sprite class, which represents a game sprite.
The Animation class represents a sequence of frames with durations.
Definition Animation.h:10
Represents an animator component that can be attached to a game object.
Definition Animator.h:6
void Update()
Update the game component.
Definition Animator.cpp:8
void SetGameObject(void *go) override
Set the GameObject associated with the game component.
Definition Animator.cpp:25
void * GetGameObject() override
Get the GameObject associated with the game component.
Definition Animator.cpp:28
Base class for game components.
Definition GameObject.h:29
Class representing a game object.
Definition GameObject.h:68