コード例 #1
0
ファイル: SKStateMachine.cs プロジェクト: mperez83/Shiba-Run
 /// <summary>
 /// ticks the state machine with the provided delta time
 /// </summary>
 public void update(float deltaTime)
 {
     elapsedTimeInState += deltaTime;
     _currentState.reason();
     _currentState.update(deltaTime);
 }
コード例 #2
0
ファイル: SKStateMachine.cs プロジェクト: lopezycj/StateKit
 /// <summary>
 /// ticks the state machine with the provided delta time
 /// </summary>
 public void update(float deltaTime)
 {
     _currentState.reason();
     _currentState.update(deltaTime);
 }