コード例 #1
0
 public Ground()
 {
     sprGround = new Sprtie(filePath);
     sprGround.SetPos(0f, 410f);
     ImgColorArry = new Color[sprGround.GetImange().Width, sprGround.GetImange().Height];
     for (int i = 0; i < sprGround.GetImange().Width; ++i)
     {
         for (int j = 0; j < sprGround.GetImange().Height; ++j)
         {
             ImgColorArry[i, j] = sprGround.GetPixel(i, j);
         }
     }
 }