UGDK
0.4.1
|
#include <ugdk/graphic/drawable/shape.h>
Public Member Functions | |
virtual | ~Shape () |
![]() | |
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 () | |
![]() | |
Drawable () | |
Additional Inherited Members | |
![]() | |
enum | HookPoint { TOP_LEFT, TOP, TOP_RIGHT, LEFT, CENTER, RIGHT, BOTTOM_LEFT, BOTTOM, BOTTOM_RIGHT } |
![]() | |
ugdk::Vector2D | hotspot_ |
|
inlinevirtual |
|
inlineprotected |