public void AddPairOfStairaces(Vector pos1, Vector pos2) { Staircase first = new Staircase(pos1, null); Staircase second = new Staircase(pos2, first); first.Other = second; Staircases.Add(first); Staircases.Add(second); }
public Staircase(Vector location, Staircase other) { Location = location; Other = other; }