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


Public Member Functions | |
| virtual | ~Shape () |
Public Member Functions inherited from ugdk::graphic::Drawable | |
| virtual | ~Drawable () |
| virtual void | Update (double dt)=0 |
| virtual void | Draw () const =0 |
| virtual const Vector2D & | size () const =0 |
| void | set_hotspot (const Vector2D &hotspot) |
| void | set_hotspot (const HookPoint &hook) |
| const double | width () const |
| const double | height () const |
| const Vector2D & | hotspot () const |
Protected Member Functions | |
| Shape () | |
Protected Member Functions inherited from ugdk::graphic::Drawable | |
| Drawable () | |
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 Attributes inherited from ugdk::graphic::Drawable | |
| ugdk::Vector2D | hotspot_ |
|
inlinevirtual |
|
inlineprotected |