本文整理汇总了Java中com.watabou.glscripts.Script类的典型用法代码示例。如果您正苦于以下问题:Java Script类的具体用法?Java Script怎么用?Java Script使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Script类属于com.watabou.glscripts包,在下文中一共展示了Script类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onPause
import com.watabou.glscripts.Script; //导入依赖的package包/类
@Override
public void onPause() {
super.onPause();
paused = true;
if (scene != null) {
executeInGlThread(new Runnable() {
@Override
public void run() {
scene.pause();
}
});
Music.INSTANCE.pause();
Sample.INSTANCE.pause();
}
view.onPause();
Script.reset();
}
示例2: onPause
import com.watabou.glscripts.Script; //导入依赖的package包/类
@Override
public void onPause() {
super.onPause();
if (scene != null) {
scene.pause();
}
view.onPause();
Script.reset();
Music.INSTANCE.pause();
Sample.INSTANCE.pause();
}
示例3: onPause
import com.watabou.glscripts.Script; //导入依赖的package包/类
@Override
public void onPause() {
super.onPause();
if (scene != null) {
scene.pause();
}
view.onPause();
Script.reset();
Music.INSTANCE.pause();
Sample.INSTANCE.pause();
}
示例4: pause
import com.watabou.glscripts.Script; //导入依赖的package包/类
@Override
public void pause() {
if (scene != null) {
scene.pause();
}
Script.reset();
Music.INSTANCE.pause();
Sample.INSTANCE.pause();
}
示例5: pause
import com.watabou.glscripts.Script; //导入依赖的package包/类
@Override
public void pause() {
if (scene != null) {
scene.pause();
}
Script.reset();
Music.INSTANCE.pause();
Sample.INSTANCE.pause();
}
示例6: pauseGame
import com.watabou.glscripts.Script; //导入依赖的package包/类
public void pauseGame(){
if (paused) return;
paused = true;
view.onPause();
Script.reset();
Music.INSTANCE.pause();
Sample.INSTANCE.pause();
}
示例7: get
import com.watabou.glscripts.Script; //导入依赖的package包/类
public static NoosaScriptNoLighting get() {
return Script.use(NoosaScriptNoLighting.class);
}
示例8: get
import com.watabou.glscripts.Script; //导入依赖的package包/类
public static NoosaScript get() {
return Script.use(NoosaScript.class);
}
示例9: get
import com.watabou.glscripts.Script; //导入依赖的package包/类
public static NoosaScriptNoLighting get(){
return Script.use( NoosaScriptNoLighting.class );
}
示例10: get
import com.watabou.glscripts.Script; //导入依赖的package包/类
public static NoosaScript get() {
return Script.use( NoosaScript.class );
}
示例11: get
import com.watabou.glscripts.Script; //导入依赖的package包/类
public static NoosaScript get() {
return Script.use(NoosaScript.class);
}