From c7dad1e929c0101386fbcdaa194e402d68f74752 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 23 Aug 2017 22:56:53 +0100 Subject: Updating docs --- classyage_1_1Sprite.html | 489 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 489 insertions(+) create mode 100644 classyage_1_1Sprite.html (limited to 'classyage_1_1Sprite.html') diff --git a/classyage_1_1Sprite.html b/classyage_1_1Sprite.html new file mode 100644 index 00000000..1a646cb7 --- /dev/null +++ b/classyage_1_1Sprite.html @@ -0,0 +1,489 @@ + + + + + + + +YAGE: yage::Sprite Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  0.02 +
+
Yet Another Game Engine
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
yage::Sprite Class Reference
+
+
+ +

#include <sprite.hpp>

+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Sprite ()
 
 Sprite (const Sprite &)=delete
 
 Sprite (Sprite &&)=delete
 
 ~Sprite ()
 
Spriteoperator= (const Sprite &)=delete
 
Spriteoperator= (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_
 
+

Constructor & Destructor Documentation

+ +

◆ Sprite() [1/3]

+ +
+
+ + + + + +
+ + + + + + + +
yage::Sprite::Sprite ()
+
+default
+
+ +
+
+ +

◆ Sprite() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::Sprite::Sprite (const Sprite)
+
+delete
+
+ +
+
+ +

◆ Sprite() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
yage::Sprite::Sprite (Sprite && )
+
+delete
+
+ +
+
+ +

◆ ~Sprite()

+ +
+
+ + + + + + + +
yage::Sprite::~Sprite ()
+
+ +
+
+

Member Function Documentation

+ +

◆ draw()

+ +
+
+ + + + + + + +
void yage::Sprite::draw ()
+
+ +
+
+ +

◆ init()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::Sprite::init (float x,
float y,
float width,
float height,
const std::string & texture_path 
)
+
+ +
+
+ +

◆ operator=() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sprite& yage::Sprite::operator= (const Sprite)
+
+delete
+
+ +
+
+ +

◆ operator=() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Sprite& yage::Sprite::operator= (Sprite && )
+
+delete
+
+ +
+
+

Member Data Documentation

+ +

◆ height_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::height_
+
+private
+
+ +
+
+ +

◆ texture_

+ +
+
+ + + + + +
+ + + + +
Texture yage::Sprite::texture_
+
+private
+
+ +
+
+ +

◆ vbo_id_

+ +
+
+ + + + + +
+ + + + +
GLuint yage::Sprite::vbo_id_ = 0
+
+private
+
+ +
+
+ +

◆ width_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::width_
+
+private
+
+ +
+
+ +

◆ x_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::x_
+
+private
+
+ +
+
+ +

◆ y_

+ +
+
+ + + + + +
+ + + + +
float yage::Sprite::y_
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit