
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Scene manager. More...
#include <gelScene.h>
Public Member Functions | |
| GelCamera * | addCamera () |
| Adds a camera. | |
| GelSprite * | addSprite (const Gel2dVec &size, const Gel2dVec &pos, float rot) |
| Adds a sprite. | |
| void | drawAll () |
| Draws all objects. | |
Scene manager.
| GelCamera* gel::GelSceneManager::addCamera | ( | ) |
Adds a camera.
| GelSprite* gel::GelSceneManager::addSprite | ( | const Gel2dVec & | size, |
| const Gel2dVec & | pos, | ||
| float | rot | ||
| ) |
Adds a sprite.
| size | : The sprite's width and height in pixels. |
| pos | : The sprite's position in pixels. |
| rot | : The rotation of the sprite in degrees. |
| void gel::GelSceneManager::drawAll | ( | ) |
Draws all objects.
Objects will be drawn in the order they were added.
API Documentation by Mark D. Procarione |
Generated by
![]() |