public void Reload() { playerPosition.X = (float)Resolution.GameSize.X / 2; playerPosition.Y = (float)Resolution.GameSize.Y / 2; trail.ClearAllVertices(); trail.AddVertex(new Point(0, playerPosition.ToPoint().Y)); trail.AddVertex(playerPosition.ToPoint()); yVelocity = 0f; Distance = 0; totalDistance = 0; }
public void Reload() { wall.ClearAllVertices(); wall.AddVertex(defaultStartPosition); wall.AddVertex(new Point(Resolution.GameSize.X, defaultStartPosition.Y)); }