YAGE
v0.1.3
Yet Another Game Engine
|
#include <sprite.h>
Public Member Functions | |
Sprite ()=default | |
Sprite (const Sprite &)=delete | |
Sprite (Sprite &&)=delete | |
~Sprite () | |
Sprite & | operator= (const Sprite &)=delete |
Sprite & | operator= (Sprite &&)=delete |
void | init (float x, float y, float width, float height, const std::string &texture_path) |
void | draw () |
Private Attributes | |
float | x_ |
float | y_ |
float | width_ |
float | height_ |
GLuint | vbo_id_ = 0 |
Texture | texture_ |
|
default |
|
delete |
|
delete |
yage::Sprite::~Sprite | ( | ) |
void yage::Sprite::draw | ( | ) |
void yage::Sprite::init | ( | float | x, |
float | y, | ||
float | width, | ||
float | height, | ||
const std::string & | texture_path | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |