UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::graphic::Shape Class Reference

#include <ugdk/graphic/drawable/shape.h>

Inheritance diagram for ugdk::graphic::Shape:
Collaboration diagram for ugdk::graphic::Shape:

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 Vector2Dsize () const =0
 
void set_hotspot (const Vector2D &hotspot)
 
void set_hotspot (const HookPoint &hook)
 
const double width () const
 
const double height () const
 
const Vector2Dhotspot () 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_
 

Constructor & Destructor Documentation

virtual ugdk::graphic::Shape::~Shape ( )
inlinevirtual
ugdk::graphic::Shape::Shape ( )
inlineprotected

The documentation for this class was generated from the following file: