예제 #1
0
파일: GState.cs 프로젝트: xuebai5/ARPG-Game
 public static void Tick(GState state, GTime now)
 {
     if (state.Enable)
     {
         state.Tick(now);
     }
     else
     {
         throw new Exception("You can't tick a state before you start it.");
     }
 }