Modified part of some player states

This commit is contained in:
Dennis Andersen 2013-12-19 12:41:37 +01:00
parent 934aa6e45a
commit 0570d76e24
2 changed files with 12 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#include "GameSession.h" #include "GameSession.h"
#include "ClientObject.h" #include "ClientObject.h"
#include "..\Helpers\ProtocolParser.h" #include "..\Helpers\ProtocolParser.h"
#include <GameLogicStates.h>
#define ERIK #define ERIK

View File

@ -5,6 +5,14 @@
namespace GameLogic namespace GameLogic
{ {
enum PLAYER_MOVEMENT
{
PLAYER_MOVEMENT_FORWARD = 0,
PLAYER_MOVEMENT_BACKWARD = 1,
PLAYER_MOVEMENT_LEFT = 2,
PLAYER_MOVEMENT_RIGHT = 4,
PLAYER_MOVEMENT_JUMP = 8,
};
class DANBIAS_GAMELOGIC_DLL PLAYER_STATE class DANBIAS_GAMELOGIC_DLL PLAYER_STATE
{ {
public: public:
@ -23,6 +31,7 @@ namespace GameLogic
int value; int value;
}; };
/*
class DANBIAS_GAMELOGIC_DLL PLAYER_MOVEMENT class DANBIAS_GAMELOGIC_DLL PLAYER_MOVEMENT
{ {
public: public:
@ -41,6 +50,7 @@ namespace GameLogic
static const int PLAYER_MOVEMENT_JUMP = 8; static const int PLAYER_MOVEMENT_JUMP = 8;
int value; int value;
}; };
*/
class DANBIAS_GAMELOGIC_DLL OBJECT_TYPE class DANBIAS_GAMELOGIC_DLL OBJECT_TYPE
{ {