public void UpdateVonNeumanNeighbors()
{
for (Directions direction = Directions.North; direction < Directions.MaxCardinal; direction += 2)
{
TerrainTile neighbor = LoadNeighbor(direction);
if (m_neighbors.ContainsKey(direction))
{
m_neighbors[direction] = neighbor;
}
else
{
m_neighbors.Add(direction, neighbor);
}
}
}