maxVelocity = Float.MAX_VALUE by default

This commit is contained in:
Matt Low 2020-01-25 17:21:14 +04:00
parent 5eed818cc3
commit 087b53564f

View File

@ -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;
}