Exemple #1
0
 internal void ClearFillArea(Game game)
 {
     for (int i = 0; i < fillarea.itemsCount; i++)
     {
         Vector3Float k = fillarea.items[i];
         if (k == null)
         {
             continue;
         }
         game.SetBlock(k.x, k.y, k.z, game.platform.FloatToInt(k.value));
         game.RedrawBlock(k.x, k.y, k.z);
     }
     fillarea.Clear();
 }