#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 402 of file SpriteEngine.h.
|
Create the SpriteGroup. The group may contain up to maxSprites Sprites.
Definition at line 411 of file SpriteEngine.h. |
|
Destroy the SpriteGroup and deallocate all used resources.
Definition at line 431 of file SpriteEngine.h. |
|
Add a sprite to the group.
Definition at line 447 of file SpriteEngine.h. |
|
Draw all the sprites in the group.
Definition at line 472 of file SpriteEngine.h. Referenced by DemoActionEngine::draw(). |