aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Facing.cpp
blob: 33742e9277831508942069cfb61d561cfe6f900a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "stdafx.h"
#include "Facing.h"

const int Facing::OPPOSITE_FACING[6] =
{
	UP, DOWN, SOUTH, NORTH, EAST, WEST
};

const int Facing::STEP_X[6] =
{
	0, 0, 0, 0, -1, 1
};

const int Facing::STEP_Y[6] =
{
	-1, 1, 0, 0, 0, 0
};

const int Facing::STEP_Z[6] =
{
	0, 0, -1, 1, 0, 0
};

const wstring Facing::NAMES[] = {L"DOWN", L"UP", L"NORTH", L"SOUTH", L"WEST", L"EAST"};