Class PhysicsService

java.lang.Object
com.deco2800.game.physics.PhysicsService

public class PhysicsService extends 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 Details

    • PhysicsService

      public PhysicsService()
    • PhysicsService

      public PhysicsService(PhysicsEngine engine)
  • Method Details