update facing.cpp

This commit is contained in:
DrPerkyLegit
2026-05-23 10:27:20 -04:00
parent 0c3c28237e
commit 43f4ea5f1f
2 changed files with 7 additions and 1 deletions

View File

@@ -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];
}

View File

@@ -16,4 +16,5 @@ public:
static const int STEP_Z[6];
static const wstring NAMES[];
static int getOpposite(int facing);
};