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

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • putExtra (Intent)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 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