Polygon Dash
Loading...
Searching...
No Matches
ComponentScript Class Referenceabstract

Control a given component of a GameObject. More...

Inheritance diagram for ComponentScript:
IComponent ComponentBounce ComponentCollision ComponentParallaxScroll ComponentPlayerInputJump ComponentPlayerMovement ComponentTextMouseClick ComponentTransformMouseClick

Public Member Functions

 this (size_t id)
 Store the owner id.
 
abstract override void Update ()
 Update internal state of the script.
 
override void Render (SDL_Renderer *renderer, SDL_Rect *camera)
 Render the given script.
 
- Public Member Functions inherited from IComponent

Detailed Description

Control a given component of a GameObject.

See also
GameObject

Member Function Documentation

◆ Render()

override void ComponentScript::Render ( SDL_Renderer * renderer,
SDL_Rect * camera )
inline

Render the given script.

Implements IComponent.

◆ Update()

abstract override void ComponentScript::Update ( )
pure virtual

The documentation for this class was generated from the following file: