本文整理汇总了Java中com.badlogic.gdx.ai.fsm.StateMachine类的典型用法代码示例。如果您正苦于以下问题:Java StateMachine类的具体用法?Java StateMachine怎么用?Java StateMachine使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StateMachine类属于com.badlogic.gdx.ai.fsm包,在下文中一共展示了StateMachine类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SettingsPane
import com.badlogic.gdx.ai.fsm.StateMachine; //导入依赖的package包/类
public SettingsPane(Stage ui, StateMachine<MainScreen> uiMachine, Skin skin, JsonValue cfg)
{
super();
this.ui = ui;
this.skin = skin;
this.cfg = cfg;
this.uiMachine = uiMachine;
setWidth(320);
setHeight(ui.getHeight());
setPosition(ui.getWidth(), 0);
genElements(cfg);
ui.addActor(this);
}
示例2: getFsm
import com.badlogic.gdx.ai.fsm.StateMachine; //导入依赖的package包/类
public final StateMachine<NhgEntry, EngineStates> getFsm() {
return fsm;
}
示例3: getStateMachine
import com.badlogic.gdx.ai.fsm.StateMachine; //导入依赖的package包/类
public StateMachine<Entity> getStateMachine () {
return stateMachine;
}
示例4: getStateMachine
import com.badlogic.gdx.ai.fsm.StateMachine; //导入依赖的package包/类
public StateMachine<Human> getStateMachine() {
return stateMachine;
}
示例5: getStateMachine
import com.badlogic.gdx.ai.fsm.StateMachine; //导入依赖的package包/类
public StateMachine<Elsa, ElsaState> getStateMachine () {
return stateMachine;
}
示例6: getStateMachine
import com.badlogic.gdx.ai.fsm.StateMachine; //导入依赖的package包/类
public StateMachine<Bob, BobState> getStateMachine () {
return stateMachine;
}