Beispiel #1
0
 public void Down()
 {
     bgField.SetValueAtPosition(x, y, 0);
     if (y != bgField.GetHeight() - 1)
     {
         y++;
     }
     bgField.SetValueAtPosition(x, y, 1);
 }
Beispiel #2
0
 private void Down()
 {
     field.SetValueAtPosition(x, y, 0);
     if (y != field.GetHeight() - 1)
     {
         y++;
     }
     field.SetValueAtPosition(x, y, 1);
 }