|
| ||||||||||||||
| ~EasySprite ()
| ~EasySprite |
[virtual]
| void show ()
| show |
[virtual]
Shows the sprite
| void hide ()
| hide |
[virtual]
Hides the sprite
| void draw (SDL_Surface *surface)
| draw |
[pure virtual]
Draws the sprite
| EasySprite (float x=0.0, float y=0.0, int visible=true)
| EasySprite |
Creates sprite
| void updateRect ()
| updateRect |
[pure virtual]
Updates sprite's rect and collision_rect due to changes of it's position and(or) surface
| void doMove (int time)
| doMove |
[virtual]
Moves the sprite
Parameters:
| time | Time of moving in milliseconds |
| float x | x |
| float y | y |
| SDL_Rect rect | rect |
| SDL_Rect collision_rect | collision_rect |
| int visible | visible |
[protected]