Class AbstractMountController

java.lang.Object
com.ticxo.modelengine.api.mount.controller.AbstractMountController
All Implemented Interfaces:
MountController
Direct Known Subclasses:
FlyingMountController, FlyingMountController_v16, FlyingMountForcedController, WalkingMountController

public abstract class AbstractMountController extends Object implements MountController
Simple abstract implementation of a basic MountController.
  • Field Details

  • Constructor Details

    • AbstractMountController

      public AbstractMountController()
  • Method Details

    • updateDirection

      public void updateDirection(LookController controller, ModeledEntity model)
      Description copied from interface: MountController
      Update the look direction of the vehicle.
      This method is called each movement tick of the vehicle, and is only called when the controller is used by a driver.
      Extend AbstractMountController to use the default implementation.
      Specified by:
      updateDirection in interface MountController
      Parameters:
      controller - wrapped look controller of the vehicle
      model - model of the vehicle