Creates a Robot object that inherits Entity. More...
#include <Robot.h>
Public Member Functions | |
Robot (JAM_Texture *sprite, float x, float y, float width, float height) | |
~Robot () | |
void | update (float dt) |
Public Member Functions inherited from JAM_Entity | |
JAM_Entity (JAM_Texture *sprite, float x, float y, float width, float height) | |
~JAM_Entity () | |
void | draw (SDL_Renderer *renderer) |
void | setPosition (float x, float y) |
void | setPosition (JAM_Vec2 position) |
void | setX (float x) |
void | setY (float y) |
void | setDimensions (float width, float height) |
void | setDimensions (JAM_Vec2 dimensions) |
void | setWidth (float width) |
void | setHeight (float height) |
JAM_Vec2 | getPosition () |
JAM_Vec2 | getDimensions () |
Creates a Robot object that inherits Entity.
Robot::Robot | ( | JAM_Texture * | sprite, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height | ||
) |
Robot::~Robot | ( | ) |
Destructs the Robot object.
|
virtual |