List of usage examples for com.badlogic.gdx.scenes.scene2d Event stop
public void stop()
From source file:com.zombie.game.actors.SteeringActor.java
License:Apache License
@Override public boolean fire(Event event) { if (event instanceof InputEvent) { InputEvent.Type t = ((InputEvent) event).getType(); event.stop(); ActorHighlightedEvent actorEvent = new ActorHighlightedEvent(); actorEvent.setSteeringActor(this); if (t != InputEvent.Type.exit) { this.active = true; return super.fire(actorEvent); }//from www . j av a 2 s . c om this.active = false; } return super.fire(event); }