congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
InputMultiplexer.removeProcessor
Code IndexAdd Tabnine to your IDE (free)

How to use
removeProcessor
method
in
com.badlogic.gdx.InputMultiplexer

Best Java code snippets using com.badlogic.gdx.InputMultiplexer.removeProcessor (Showing top 15 results out of 315)

origin: libgdx/libgdx

@Override
public void setInputProcessor (InputProcessor processor) {
  multiplexer.removeProcessor(lastProcessor);
  multiplexer.addProcessor(processor);
  lastProcessor = processor;
}
origin: libgdx/libgdx

  @Override
  public void clicked (InputEvent event, float x, float y) {
    ((InputWrapper)Gdx.input).multiplexer.removeProcessor(ui);
    test = instancer.instance();
    Gdx.app.log("GdxTestGwt", "Clicked on " + test.getClass().getName());
    test.create();
    test.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
  }
});
origin: libgdx/libgdx

public void render () {
  if (test == null) {
    Gdx.gl.glViewport(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
    Gdx.gl.glClearColor(0, 0, 0, 0);
    Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
    ui.act(Gdx.graphics.getDeltaTime());
    ui.draw();
  } else {
    if (dispose) {
      test.pause();
      test.dispose();
      test = null;
      Gdx.graphics.setVSync(true);
      InputWrapper wrapper = ((InputWrapper)Gdx.input);
      wrapper.multiplexer.addProcessor(ui);
      wrapper.multiplexer.removeProcessor(wrapper.lastProcessor);
      wrapper.lastProcessor = null;
      dispose = false;
    } else {
      test.render();
    }
  }
}
origin: nifty-gui/nifty-gui

public void removeCustomProcessor(final int index) {
 nonNiftyCustomInputMultiplexer.removeProcessor(index);
}
origin: com.github.nifty-gui/nifty-libgdx-renderer

public void removeCustomProcessor(final int index) {
 nonNiftyCustomInputMultiplexer.removeProcessor(index);
}
origin: Var3D/var3dframe

public void removeProcessor(InputProcessor stage) {
  multiplexer.removeProcessor(stage);
}
origin: nifty-gui/nifty-gui

public void removeCustomProcessor(@Nonnull final InputProcessor customProcessor) {
 nonNiftyCustomInputMultiplexer.removeProcessor(customProcessor);
}
origin: com.github.nifty-gui/nifty-libgdx-renderer

public void removeCustomProcessor(@Nonnull final InputProcessor customProcessor) {
 nonNiftyCustomInputMultiplexer.removeProcessor(customProcessor);
}
origin: jmrapp1/SpaceInvaders

public void removeInputProcessor(InputProcessor ip) {
  processors.removeProcessor(ip);
  Gdx.input.setInputProcessor(processors);
}
 
origin: langurmonkey/gaiasky

/**
 * Unsets the given GUI and sets it as previous
 * @param gui The GUI
 */
public static void unset(IGui gui) {
  if (gui != null) {
    unregisterGui(gui);
    im.removeProcessor(gui.getGuiStage());
  }
  previous = gui;
}
origin: MovingBlocks/box2d-editor

private void setMode(Mode mode) {
  this.mode = mode;
  canvas.input.removeProcessor(creationInputProcessor);
  canvas.input.removeProcessor(editionInputProcessor);
  canvas.input.removeProcessor(testInputProcessor);
origin: Var3D/var3dframe

if (stage != null) {
  if (input != null) {
    multiplexer.removeProcessor(input);
    multiplexer.removeProcessor(gesture);
origin: langurmonkey/gaiasky

Gdx.app.postRunnable(() -> {
  im.removeProcessor(inputController);
origin: stackoverflow.com

plexer.removeProcessor(redStage);
plexer.addProcessor(blackStage);
plexer.removeProcessor(blackStage);
origin: langurmonkey/gaiasky

Gdx.app.postRunnable(() -> {
  im.removeProcessor(inputController);
com.badlogic.gdxInputMultiplexerremoveProcessor

Popular methods of InputMultiplexer

  • addProcessor
  • <init>
  • clear
  • getProcessors
  • size
  • setProcessors

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • String (java.lang)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Reference (javax.naming)
  • JFileChooser (javax.swing)
  • Top plugins for WebStorm
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