TestAnimate Class Reference

#include <TestAnimate.h>

Inherits Layer.

Collaboration diagram for TestAnimate:

Collaboration graph
[legend]

List of all members.

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.


Constructor & Destructor Documentation

TestAnimate::TestAnimate (  ) 

Creates a testAnimate object with a location at the origin and a size of the screen.


Member Function Documentation

void TestAnimate::animate ( AnimationSprite sprite  ) 

Animates the sprite in a figure eight.


Member Data Documentation

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.


The documentation for this class was generated from the following files:

Generated on Mon Mar 16 14:33:16 2009 for LearningGaming by  doxygen 1.5.7.1