|
UGDK
0.4.1
|
#include <ugdk/graphic/drawable/texturedrectangle.h>


Public Member Functions | |
| TexturedRectangle (Texture *texture) | |
| TexturedRectangle (Texture *texture, const Vector2D &size) | |
| ~TexturedRectangle () | |
| void | Update (double dt) |
| void | Draw () const |
| const Vector2D & | size () const |
| void | set_size (const Vector2D &size) |
Public Member Functions inherited from ugdk::graphic::Shape | |
| virtual | ~Shape () |
Public Member Functions inherited from ugdk::graphic::Drawable | |
| virtual | ~Drawable () |
| void | set_hotspot (const Vector2D &hotspot) |
| void | set_hotspot (const HookPoint &hook) |
| const double | width () const |
| const double | height () const |
| const Vector2D & | hotspot () const |
Additional Inherited Members | |
Public Types inherited from ugdk::graphic::Drawable | |
| enum | HookPoint { TOP_LEFT, TOP, TOP_RIGHT, LEFT, CENTER, RIGHT, BOTTOM_LEFT, BOTTOM, BOTTOM_RIGHT } |
Protected Member Functions inherited from ugdk::graphic::Shape | |
| Shape () | |
Protected Attributes inherited from ugdk::graphic::Drawable | |
| ugdk::Vector2D | hotspot_ |
| ugdk::graphic::TexturedRectangle::TexturedRectangle | ( | Texture * | texture | ) |
| ugdk::graphic::TexturedRectangle::~TexturedRectangle | ( | ) |
|
virtual |
Implements ugdk::graphic::Drawable.
|
inline |
|
inlinevirtual |
Implements ugdk::graphic::Drawable.
|
virtual |
Implements ugdk::graphic::Drawable.