public void DefineAdjacents (int i, int j) { if (adjacents == null) { adjacents = new List<int> (); } AddAdjacent (new Vector2 (i, j + 1));//Right Adjacent AddAdjacent (new Vector2 (i, j - 1));//Left Adjacent AddAdjacent (new Vector2 (i - 1, j));//Upper Adjacent AddAdjacent (new Vector2 (i + 1, j));//Lower Adjacent }