#include <lvt/2d.h>
Inheritance diagram for Shape2D:

Public Member Functions | |
| virtual void | Render ()=0 |
| Renders the object. | |
| void | SetPosition (int x, int y, int z=0) |
| Sets the position of the object. | |
| int | GetXPosition () const |
| Returns the relevant coordinate of the shape's position. | |
| int | GetYPosition () const |
| Returns the relevant coordinate of the shape's position. | |
| int | GetZPosition () const |
| Returns the relevant coordinate of the shape's position. | |
|
|
Returns the relevant coordinate of the shape's position.
|
|
|
Returns the relevant coordinate of the shape's position.
|
|
|
Returns the relevant coordinate of the shape's position.
|
|
|
Renders the object. A call to render on a 2D object also flushes the OpenGL output buffer. Implements Shape. Implemented in Circle2D, Rectangle2D, and Triangle2D. |
|
||||||||||||||||
|
Sets the position of the object.
|
1.4.1