14151617181920
private final Physics3D physics3D; public BasicPhysics(Universe universe, PhysicsState state) { this.state = state; this.gravity = new BasicGravity(state.getGravity(), universe); this.physics3D = new BasicPhysics3D(state.getPhysics3D(), this); }