public void Right() { bgField.SetValueAtPosition(x, y, 0); if (x != bgField.GetWidth() - 1) { x++; } bgField.SetValueAtPosition(x, y, 1); }
private void Right() { field.SetValueAtPosition(x, y, 0); if (x != field.GetWidth() - 1) { x++; } field.SetValueAtPosition(x, y, 1); }