コード例 #1
0
 public static ChangeGameState ChangeGameMode(GameMode mode)
 {
     ChangeGameState n = new ChangeGameState();
     n.Reason = GameState.ChangeGameMode;
     n.Value = (float)mode;
     return n;
 }
コード例 #2
0
        public static ChangeGameState ChangeGameMode(GameMode mode)
        {
            ChangeGameState n = new ChangeGameState();

            n.Reason = GameState.ChangeGameMode;
            n.Value  = (float)mode;
            return(n);
        }
コード例 #3
0
 static void NoRain(Client player, string[] cmd, int iarg)
 {
     ChangeGameState ns = new ChangeGameState(GameState.EndRaining);
     player.Queue.Queue(ns);
 }