Ejemplo n.º 1
0
        public Frog(Marsh marsh)
        {
            this.marsh = marsh;

            st = new Stack<Leaf>(marsh.leafCount);
            st.Push(marsh.start);
            moveCount = 0;
        }
Ejemplo n.º 2
0
        public Frog(Marsh marsh)
        {
            this.marsh = marsh;

            st = new Stack <Leaf>(marsh.leafCount);
            st.Push(marsh.start);
            moveCount = 0;
        }
Ejemplo n.º 3
0
 public Form1()
 {
     InitializeComponent();
     marsh = new Marsh();
 }