Danbias/Code/Game/GameLogic/Player.h

34 lines
601 B
C
Raw Normal View History

2013-11-28 08:33:29 +01:00
//////////////////////////////////////////////////
//Created by Erik and Linda of the GameLogic team
//////////////////////////////////////////////////
2013-11-19 11:07:14 +01:00
#ifndef PLAYER_H
#define PLAYER_H
#include "GameLogicStates.h"
2013-11-19 11:07:14 +01:00
namespace GameLogic
{
2013-12-05 11:50:39 +01:00
class Player
2013-11-19 11:07:14 +01:00
{
public:
2013-12-05 11:50:39 +01:00
Player(void);
2013-11-19 11:07:14 +01:00
~Player(void);
2013-11-29 09:05:01 +01:00
2013-12-05 11:50:39 +01:00
void Update();
void Move(const PLAYER_MOVEMENT &movement);
void Shoot(const WEAPON_FIRE &fireInput);
void Jump();
bool IsWalking();
bool IsJumping();
bool IsIdle();
//Oyster::Math::Float3 GetPos();
void Respawn();
2013-11-19 18:35:35 +01:00
private:
2013-12-05 11:50:39 +01:00
struct PrivateData;
PrivateData *myData;
2013-11-19 11:07:14 +01:00
};
}
#endif