Exemple #1
0
        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);
        }
Exemple #2
0
 public Staircase(Vector location, Staircase other)
 {
     Location = location;
     Other = other;
 }