示例#1
0
文件: Frog.cs 项目: BOZWXJ/Puzzle
        public Frog(Marsh marsh)
        {
            this.marsh = marsh;

            st = new Stack<Leaf>(marsh.leafCount);
            st.Push(marsh.start);
            moveCount = 0;
        }
示例#2
0
文件: Frog.cs 项目: BOZWXJ/Puzzle
        public Frog(Marsh marsh)
        {
            this.marsh = marsh;

            st = new Stack <Leaf>(marsh.leafCount);
            st.Push(marsh.start);
            moveCount = 0;
        }
示例#3
0
文件: Form1.cs 项目: BOZWXJ/Puzzle
 public Form1()
 {
     InitializeComponent();
     marsh = new Marsh();
 }