Creates a MenuEntity that inherits Entity. More...
#include <MenuEntity.h>
Public Member Functions | |
MenuEntity (Model *model, float scale) | |
~MenuEntity () | |
void | update (float dt) |
Public Member Functions inherited from Entity | |
Entity (Model *model, float scaleValue) | |
virtual | ~Entity () |
void | draw (glm::mat4 &viewMatrix, glm::mat4 &projMatrix) |
void | setPosition (glm::vec3 position) |
void | setPosition (float x, float y, float z) |
void | rotateX (float angle) |
void | rotateY (float angle) |
void | rotateZ (float angle) |
void | setScale (float scaleValue) |
void | move (glm::vec3 movement) |
void | moveX (float movement) |
void | moveY (float movement) |
void | moveZ (float movement) |
void | setMoveSpeed (float moveSpeed) |
glm::vec3 | getPosition () |
glm::vec3 | getOrientation () |
float | getScale () |
Additional Inherited Members | |
Protected Attributes inherited from Entity | |
Model * | model |
glm::vec3 | rotation |
glm::vec3 | position |
float | scaleValue |
float | moveSpeed |
float | rotateSpeed |
Creates a MenuEntity that inherits Entity.
MenuEntity::MenuEntity | ( | Model * | model, |
float | scale | ||
) |
MenuEntity::~MenuEntity | ( | ) |
Destructs a MenuEntity Object. Destructs the MenuEntity Object deleting the MenuEntity Object from memory.
|
virtual |
Updates the MenuEntity.
dt | The delta time. |
Implements Entity.