34 lines
601 B
C++
34 lines
601 B
C++
//////////////////////////////////////////////////
|
|
//Created by Erik and Linda of the GameLogic team
|
|
//////////////////////////////////////////////////
|
|
#ifndef PLAYER_H
|
|
#define PLAYER_H
|
|
#include "GameLogicStates.h"
|
|
|
|
namespace GameLogic
|
|
{
|
|
class Player
|
|
{
|
|
|
|
public:
|
|
Player(void);
|
|
~Player(void);
|
|
|
|
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();
|
|
|
|
private:
|
|
struct PrivateData;
|
|
PrivateData *myData;
|
|
};
|
|
}
|
|
#endif |