Polygon Dash
|
Move the player by a specified amount each frame. More...
Public Member Functions | |
this (size_t owner, ComponentTransform transform) | |
Set up the script. | |
override void | Update () |
Move the player forward. | |
Public Member Functions inherited from ComponentScript | |
this (size_t id) | |
Store the owner id. | |
override void | Render (SDL_Renderer *renderer, SDL_Rect *camera) |
Render the given script. | |
Public Member Functions inherited from IComponent |
Public Attributes | |
ComponentTransform | mTransform |
The ComponentTransform of the linked GameObject. | |
Move the player by a specified amount each frame.
|
inline |
Set up the script.
owner | the id of the linked GameObject. |
transform | the ComponentTransform of the linked GameObject. |
|
inlinevirtual |