class EasySpritePlane
|
Contains sprites situated in one plane
More... |
|
|
Public Methods
Public Members
Protected Members
Contains sprites situated in one plane
EasySpritePlane (int capacity = 32)
| EasySpritePlane |
~EasySpritePlane ()
| ~EasySpritePlane |
Adds a sprite to plane
int increaseCapacity ()
| increaseCapacity |
Returns sprite owned by plane
Parameters:
number | number of sprite to retun
|
void insert (EasySprite *sprite, int position)
| insert |
Inserts sprite to the the list
Parameters:
position | position to insert sprite to
|
void updateRect ()
| updateRect |
Removes sprite from plane
Parameters:
number | number of sprite to delete */
void remove(int number);
/** Draws the plane on surface
|
surface | surface to draw plane to */
void draw(SDL_Surface *surface);
/** Does nothing dirty-hack to make compiler not to say it's not implemented abstarct
|
Reimplemented from EasySprite.
void doMove (int time)
| doMove |
Moves all sprites in plane
@parsm time time passed after last doMove call
Reimplemented from EasySprite.
[protected]
- Author: Vladimir Grichina
- Generated: vg on localhost.localdomain on Fri Jan 17 13:05:24 2003, using kdoc 2.0a53.