Class ActionGoto

java.lang.Object
gaiasky.util.urlprotocol.ActionGoto
All Implemented Interfaces:
ActionHandler

public class ActionGoto extends Object implements ActionHandler
Handles the go-to action, implemented as a smooth camera transition to the target object.
  • Field Details

    • PARAM_TARGET

      public static final String[] PARAM_TARGET
      Names of the parameter that contains the target name.
    • PARAM_POS_DURATION

      public static final String PARAM_POS_DURATION
      Position transition time parameter.
      See Also:
    • PARAM_ORI_DURATION

      public static final String PARAM_ORI_DURATION
      Orientation transition time parameter.
      See Also:
  • Constructor Details

    • ActionGoto

      public ActionGoto()
  • Method Details

    • process

      public void process(String url, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage, boolean hotLoad, Map<String,String> params)
      Description copied from interface: ActionHandler
      Process the action.
      Specified by:
      process in interface ActionHandler
      Parameters:
      url - The URL string.
      skin - The UI skin.
      stage - The UI stage.
      hotLoad - Whether to hot load.
      params - The parameters.