Tabnine Logo
MoveToAction.setInterpolation
Code IndexAdd Tabnine to your IDE (free)

How to use
setInterpolation
method
in
com.badlogic.gdx.scenes.scene2d.actions.MoveToAction

Best Java code snippets using com.badlogic.gdx.scenes.scene2d.actions.MoveToAction.setInterpolation (Showing top 7 results out of 315)

origin: libgdx/libgdx

static public MoveToAction moveToAligned (float x, float y, int alignment, float duration, Interpolation interpolation) {
  MoveToAction action = action(MoveToAction.class);
  action.setPosition(x, y, alignment);
  action.setDuration(duration);
  action.setInterpolation(interpolation);
  return action;
}
origin: libgdx/libgdx

static public MoveToAction moveTo (float x, float y, float duration, Interpolation interpolation) {
  MoveToAction action = action(MoveToAction.class);
  action.setPosition(x, y);
  action.setDuration(duration);
  action.setInterpolation(interpolation);
  return action;
}
origin: libgdx/libgdx

static public MoveToAction moveToAligned (float x, float y, int alignment, float duration, Interpolation interpolation) {
  MoveToAction action = action(MoveToAction.class);
  action.setPosition(x, y, alignment);
  action.setDuration(duration);
  action.setInterpolation(interpolation);
  return action;
}
origin: libgdx/libgdx

static public MoveToAction moveTo (float x, float y, float duration, Interpolation interpolation) {
  MoveToAction action = action(MoveToAction.class);
  action.setPosition(x, y);
  action.setDuration(duration);
  action.setInterpolation(interpolation);
  return action;
}
origin: com.badlogicgames.gdx/gdx

static public MoveToAction moveToAligned (float x, float y, int alignment, float duration, Interpolation interpolation) {
  MoveToAction action = action(MoveToAction.class);
  action.setPosition(x, y, alignment);
  action.setDuration(duration);
  action.setInterpolation(interpolation);
  return action;
}
origin: com.badlogicgames.gdx/gdx

static public MoveToAction moveTo (float x, float y, float duration, Interpolation interpolation) {
  MoveToAction action = action(MoveToAction.class);
  action.setPosition(x, y);
  action.setDuration(duration);
  action.setInterpolation(interpolation);
  return action;
}
origin: stackoverflow.com

Table actionTable = new Table();
 //position the table outside the screen
 actionTable.setPosition(stage.getWidth(), 0); //Position on the right of the stage
 MoveToAction moveAction = new MoveToAction();
 moveAction.setPosition(0, 0); //Move from right side of stage inside the stage
 moveAction.setDuration(.5f); //Duration of this action
 moveAction.setInterpolation(Interpolation.fade); //Fade the movement in and out, many interpolations are supplied by the framework.
 actionTable.addAction(moveAction); //Execute Action.
com.badlogic.gdx.scenes.scene2d.actionsMoveToActionsetInterpolation

Popular methods of MoveToAction

  • setDuration
  • setPosition
  • <init>
  • setY

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Reference (javax.naming)
  • JButton (javax.swing)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now