Package com.deco2800.game.physics
Class PhysicsService
java.lang.Object
com.deco2800.game.physics.PhysicsService
public class PhysicsService
extends java.lang.Object
Provides a global access point to the physics engine. This is necessary for physics-based
entities to add or remove themselves from the world, as well as update their position each frame.
-
Constructor Summary
Constructors Constructor Description PhysicsService()PhysicsService(PhysicsEngine engine) -
Method Summary
Modifier and Type Method Description PhysicsEnginegetPhysics()
-
Constructor Details
-
PhysicsService
public PhysicsService() -
PhysicsService
-
-
Method Details