Class MousePathController

java.lang.Object
de.gurkenlabs.litiengine.physics.MovementController<IMobileEntity>
de.gurkenlabs.litiengine.input.MousePathController
All Implemented Interfaces:
IEntityController, IUpdateable, IMovementController

public class MousePathController extends MovementController<IMobileEntity>
A controller that allows an entity to be controlled via mouse path input.
  • Constructor Details

    • MousePathController

      public MousePathController(EntityNavigator navigator, IMobileEntity entity)
      Constructs a new MousePathController for the specified entity and navigator.
      Parameters:
      navigator - the navigator to control the entity's movement
      entity - the entity to be controlled by the mouse path
  • Method Details