#include <class.player.hh>
Public Member Functions | |
CPlayer (CSprite *pSprite) | |
~CPlayer () | |
void | Cleanup () |
CPlayer * | CastToPlayer () |
Cast to player class. | |
bool | Interact (CObject *pObj) |
Interact. | |
void | ProcessInput (Uint8 *keystate) |
Process input. | |
void | SetAnimStand () |
Set stand animation. | |
void | SetAnimMove () |
Set move animation. | |
void | SetAnimJump () |
Set jump animation. | |
void | SetAnimFall () |
Set fall animation. | |
Public Attributes | |
bool | mbFaceLeft |
bool | mbHasGun |
bool | mbActionKeyHeld |
float | mfSpawnX |
float | mfSpawnY |
CPlayer::CPlayer | ( | CSprite * | pSprite | ) |
CPlayer::~CPlayer | ( | ) |
void CPlayer::Cleanup | ( | ) |
void CPlayer::ProcessInput | ( | Uint8 * | keystate | ) |
Process input.
void CPlayer::SetAnimStand | ( | ) | [virtual] |
void CPlayer::SetAnimMove | ( | ) | [virtual] |
void CPlayer::SetAnimJump | ( | ) | [virtual] |
void CPlayer::SetAnimFall | ( | ) | [virtual] |
bool CPlayer::mbFaceLeft |
bool CPlayer::mbHasGun |
float CPlayer::mfSpawnX |
float CPlayer::mfSpawnY |