mirror of
https://github.com/DrPerkyLegit/LCEServerTest.git
synced 2026-06-19 19:12:36 +00:00
update facing.cpp
This commit is contained in:
@@ -21,4 +21,9 @@ 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"};
|
||||
const wstring Facing::NAMES[] = {L"DOWN", L"UP", L"NORTH", L"SOUTH", L"WEST", L"EAST"};
|
||||
|
||||
int Facing::getOpposite(int facing)
|
||||
{
|
||||
return OPPOSITE_FACING[facing];
|
||||
}
|
||||
Reference in New Issue
Block a user