예제 #1
0
        static void Main(string[] args)
        {
            Forest forest = new Forest(20, 20);

            forest.PrintAllTree();
            forest.Run();
        }
예제 #2
0
        static void Main(string[] args)
        {
            Tree[,] trees = new Tree[20, 20];
            Forest forest = new Forest(trees);

            forest.PrintForest();
            forest.Run(50, 10, 10);
        }