List of usage examples for com.badlogic.gdx.scenes.scene2d InputListener subclass-usage
From source file com.blackboxgaming.engine.factories.LayerFactory.java
class Boost extends InputListener { private final InputProcessor input = Gdx.input.getInputProcessor(); @Override public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) {
From source file com.flaiker.reaktio.helper.DefaultActorListener.java
public abstract class DefaultActorListener extends InputListener { @Override public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) { return true; } }
From source file com.github.ykrasik.jaci.cli.libgdx.LibGdxCliInputListener.java
/** * Links {@link InputEvent}s to {@link Cli} calls. * * @author Yevgeny Krasik */ public class LibGdxCliInputListener extends InputListener {
From source file com.github.ykrasik.jaci.cli.libgdx.LibGdxVisibilityToggler.java
/**
* An {@link InputListener} that should be registered with a {@link com.badlogic.gdx.scenes.scene2d.Stage} as a listener
* {@link com.badlogic.gdx.scenes.scene2d.Stage#addListener(com.badlogic.gdx.scenes.scene2d.EventListener)}.
* Will toggle an actor's visibility on and off according to {@link InputEvent}s.
* By default, toggles on the default combination of Ctrl+` (aka tilda, back-tick, grave).
* If a different toggle combination is desired, subclass this class and override {@link #shouldToggle(int)}.
From source file com.github.ykrasik.jerminal.libgdx.ConsoleToggler.java
/**
* An {@link InputListener} that should be registered with a {@link com.badlogic.gdx.scenes.scene2d.Stage} as a listener
* {@link com.badlogic.gdx.scenes.scene2d.Stage#addListener(com.badlogic.gdx.scenes.scene2d.EventListener)}.
* Will toggle the console on and off according to {@link InputEvent}s.
*
* @author Yevgeny Krasik
From source file com.kotcrab.vis.editor.module.scene.entitymanipulator.tool.Tool.java
/** * @author Kotcrab */ public abstract class Tool extends InputListener { private boolean loaded = false;
From source file com.kotcrab.vis.editor.module.TableInputListener.java
/** * Listens for events from target table and passes them to provided {@link ModuleInput} * @author Kotcrab */ public class TableInputListener extends InputListener { private Table focusTarget;
From source file com.kotcrab.vis.editor.util.EventStopper.java
/** Stops parent actor from receiving child events */ public class EventStopper extends InputListener { @Override public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) { event.stop(); return true;
From source file com.kotcrab.vis.editor.util.gdx.EventStopper.java
/** Stops parent actor from receiving child events */ public class EventStopper extends InputListener { @Override public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) { event.stop(); return true;
From source file com.kotcrab.vis.editor.util.gdx.ModalInputListener.java
public abstract class ModalInputListener extends InputListener { private InputModule inputModule; @Override public boolean handle(Event e) { if (inputModule == null)