Gravity Flip
Public Member Functions | Public Attributes | List of all members
PlayerState Class Reference

Public Member Functions

 PlayerState ()
 Constructor.
 
 PlayerState (const PlayerState &state)
 Constructor. More...
 
 PlayerState (Player *player)
 Constructor. More...
 

Public Attributes

qreal xPos
 X co-ordinate.
 
qreal yPos
 Y co-ordinate.
 
int pixmapIndex
 Pixmap Index.
 
bool isInAir
 Is the player in air True if player is in air False otherwise.
 
bool isFlipped
 Is the player flipped True if player is flipped False otherwise.
 
bool isUpdateToPixMapNeeded
 Is update to pixmap needed True if update to pixmap is needed False otherwise.
 

Constructor & Destructor Documentation

PlayerState::PlayerState ( const PlayerState state)

Constructor.

Parameters
Referenceto PlayerState
PlayerState::PlayerState ( Player player)

Constructor.

Parameters
Pointerto Player

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