本文整理了Java中com.badlogic.gdx.scenes.scene2d.Actor.clearListeners()
方法的一些代码示例,展示了Actor.clearListeners()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Actor.clearListeners()
方法的具体详情如下:
包路径:com.badlogic.gdx.scenes.scene2d.Actor
类名称:Actor
方法名:clearListeners
[英]Removes all listeners on this actor.
[中]删除此角色上的所有侦听器。
代码示例来源:origin: libgdx/libgdx
/** Removes all actions and listeners on this actor. */
public void clear () {
clearActions();
clearListeners();
}
代码示例来源:origin: libgdx/libgdx
/** Removes all actions and listeners on this actor. */
public void clear () {
clearActions();
clearListeners();
}
代码示例来源:origin: dingjibang/GDX-RPG
public TypedGdxQuery<T> cleanListeners(){
t.clearListeners();
return this;
}
代码示例来源:origin: dingjibang/GDX-RPG
public GdxQuery cleanListeners(){
for(Actor actor:list())
actor.clearListeners();
return this;
}
代码示例来源:origin: com.badlogicgames.gdx/gdx
/** Removes all actions and listeners on this actor. */
public void clear () {
clearActions();
clearListeners();
}
代码示例来源:origin: Var3D/var3dframe
actor.clearListeners();
if (data.allListeners != null) {
for (EventListener listener : data.allListeners) {
actor.clearListeners();
actor.addListener(new InputListener() {
private float starX, starY;
内容来源于网络,如有侵权,请联系作者删除!