From 087b53564f69eee02aeeb17ee4b6efed31af3b18 Mon Sep 17 00:00:00 2001 From: Matt Low Date: Sat, 25 Jan 2020 17:21:14 +0400 Subject: [PATCH] maxVelocity = Float.MAX_VALUE by default --- core/src/com/me/asteroids/components/VelocityComponent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/me/asteroids/components/VelocityComponent.java b/core/src/com/me/asteroids/components/VelocityComponent.java index 2754c96..b38771a 100644 --- a/core/src/com/me/asteroids/components/VelocityComponent.java +++ b/core/src/com/me/asteroids/components/VelocityComponent.java @@ -6,6 +6,7 @@ import com.me.common.ecs.Component; public class VelocityComponent implements Component { public Vector2 velocity; - public float maxVelocity; + + public float maxVelocity = Float.MAX_VALUE; }