Your use for SpaceShip.y was dynamic, but you were using it as a Static Context. Also you were as mentioned before using Integer/Double when you should be using int/double
SpaceShip.y
even with a static context .y was not initialized from a straight class call.
by creating and storing an instance of a created class with the ShipClass you can call on the instance that will hold a dynamic value of .y
You can however
public class SpaceShip extends Body{
public static final instance = new SpaceShip(); // maybe this instead
}
though you won't be able to set the constructor parameters. though I don't see this in common practice. So i'm not sure the validity. Also
SpaceShip getInstance(){
if(instance == null) instance = new SpaceShip();
return instance;
}
Squilliam: On Vgcharts its a commonly accepted practice to twist the bounds of plausibility in order to support your argument or agenda so I think its pretty cool that this gives me the precedent to say whatever I damn well please.







