Exemplo n.º 1
0
 public void PushDisc(Disc newDisc, int startingIndex)
 {
     m_poleDiscs.Push(newDisc);
     newDisc.ChangeDiscToPole(startingIndex);
 }
Exemplo n.º 2
0
        public Direction GetDiscDirection()
        {
            Disc lastDisc = m_poleDiscs.Peek();

            return(lastDisc.GetDiscDirection());
        }