public void Update() { UpdateVelocity(); hitbox.Move((int)X - 30, (int)Y - 50); }
public void Update() { X -= game.backgroundSpeed; hitbox.Move((int)X, (int)Y); if (X < -1 * width) { offScreen = true; } }