Polygon Dash
|
Control a given component of a GameObject. More...
Public Member Functions | |
void | Update () |
Update internal state of the component. | |
void | Render (SDL_Renderer *renderer, SDL_Rect *camera) |
Render the given component. | |
Control a given component of a GameObject.
void IComponent::Render | ( | SDL_Renderer * | renderer, |
SDL_Rect * | camera ) |
Render the given component.
Implemented in ComponentAnimation, ComponentAttempt, ComponentRender, ComponentScript, ComponentTextRenderer, and ComponentTransform.
void IComponent::Update | ( | ) |
Update internal state of the component.
Implemented in ComponentAnimation, ComponentAttempt, ComponentBounce, ComponentCollision, ComponentParallaxScroll, ComponentPlayerInputJump, ComponentPlayerMovement, ComponentRender, ComponentScript, ComponentTextMouseClick, ComponentTextRenderer, ComponentTransform, and ComponentTransformMouseClick.