#include <SpriteEngine.h>
Collaboration diagram for SpriteGroup:
Public Methods | |
SpriteGroup (int maxSprites) | |
Create the SpriteGroup. More... | |
~SpriteGroup () | |
Destroy the SpriteGroup and deallocate all used resources. More... | |
void | addSprite (Sprite& sprite) |
Add a sprite to the group. More... | |
void | draw (RectangleType *bounds) |
Draw all the sprites in the group. More... |
Definition at line 274 of file SpriteEngine.h.
|
Create the SpriteGroup. The group may contain up to maxSprites Sprites.
Definition at line 374 of file SpriteEngine.cpp. |
|
Destroy the SpriteGroup and deallocate all used resources.
Definition at line 391 of file SpriteEngine.cpp. |
|
Add a sprite to the group.
Definition at line 400 of file SpriteEngine.cpp. |
|
Draw all the sprites in the group.
Definition at line 422 of file SpriteEngine.cpp. Referenced by DemoActionEngine::draw(). |