예제 #1
0
 public Tile128()
 {
     Mapping = new Tile16[8 * 8];
     for (int i = 0; i < Mapping.Length; i++)
     {
         Mapping[i] = new Tile16();
     }
 }
            public Tile128()
            {
                Mapping = new Tile16[8][];
                for (int i = 0; i < 8; i++)
                {
                    Mapping[i] = new Tile16[8];
                }

                for (int y = 0; y < 8; y++)
                {
                    for (int x = 0; x < 8; x++)
                    {
                        Mapping[y][x] = new Tile16();
                    }
                }
            }