List of usage examples for com.badlogic.gdx.scenes.scene2d Event setTarget
public void setTarget(Actor targetActor)
From source file:com.blastedstudios.gdxworld.util.ui.Scene2DUtils.java
License:Apache License
/** @param c the event to copy to * @param e the event to copy from */ public static void copy(Event c, Event e) { c.setTarget(e.getTarget()); c.setStage(e.getStage());/* w ww . j a v a 2 s .co m*/ c.setCapture(e.isCapture()); c.setBubbles(e.getBubbles()); c.setListenerActor(e.getListenerActor()); }
From source file:net.dermetfan.gdx.scenes.scene2d.Scene2DUtils.java
License:Apache License
/** @param c the event to copy from * @param e the event to copy to */ public static void copy(Event e, Event c) { c.setTarget(e.getTarget()); c.setStage(e.getStage());/*from w w w.ja v a2s . c om*/ c.setCapture(e.isCapture()); c.setBubbles(e.getBubbles()); c.setListenerActor(e.getListenerActor()); }