gère un objet avec de propriété géométrique More...
#include <geometricClass.h>
Public Member Functions | |
Geometric (Vector2f nPos, Vector2f nOrigin, Vector2f nSize, float nRotation) | |
Geometric (const Geometric &other) | |
Geometric () | |
void | setPosition (const Vector2f &nPos) |
virtual void | setPosition (float x_, float y_) |
const Vector2f & | getPosition () const |
void | setSize (const Vector2f &nSize) |
virtual void | setSize (float x_, float y_) |
const Vector2f & | getSize () const |
void | setOrigin (const Vector2f &nOrigin) |
virtual void | setOrigin (float x_, float y_) |
const Vector2f & | getOrigin () const |
virtual void | setRotation (float nRotation) |
const float | getRotation () const |
Protected Attributes | |
Vector2f | pos |
Vector2f | origin |
Vector2f | size |
float | rotation |
gère un objet avec de propriété géométrique
Geometric::Geometric | ( | const Geometric & | other | ) |
Geometric::Geometric | ( | ) |
const Vector2f & Geometric::getOrigin | ( | ) | const |
const Vector2f & Geometric::getPosition | ( | ) | const |
const float Geometric::getRotation | ( | ) | const |
const Vector2f & Geometric::getSize | ( | ) | const |
void Geometric::setOrigin | ( | const Vector2f & | nOrigin | ) |
|
virtual |
void Geometric::setPosition | ( | const Vector2f & | nPos | ) |
|
virtual |
|
virtual |
void Geometric::setSize | ( | const Vector2f & | nSize | ) |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |