#include <TestAnimate.h>
Inherits Layer.

Public Member Functions | |
| TestAnimate () | |
| Creates a testAnimate object with a location at the origin and a size of the screen. | |
| void | animate (AnimationSprite *sprite) |
| Animates the sprite in a figure eight. | |
Protected Attributes | |
| int | currentX |
| Current X location of the sprite. | |
| int | currentY |
| Current Y location of the sprite. | |
| bool | right |
| True is the sprite is moving to the right. | |
| TestAnimate::TestAnimate | ( | ) |
Creates a testAnimate object with a location at the origin and a size of the screen.
| void TestAnimate::animate | ( | AnimationSprite * | sprite | ) |
Animates the sprite in a figure eight.
int TestAnimate::currentX [protected] |
Current X location of the sprite.
int TestAnimate::currentY [protected] |
Current Y location of the sprite.
bool TestAnimate::right [protected] |
True is the sprite is moving to the right.
1.5.7.1