public static ChangeGameState ChangeGameMode(GameMode mode) { ChangeGameState n = new ChangeGameState(); n.Reason = GameState.ChangeGameMode; n.Value = (float)mode; return n; }
public static ChangeGameState ChangeGameMode(GameMode mode) { ChangeGameState n = new ChangeGameState(); n.Reason = GameState.ChangeGameMode; n.Value = (float)mode; return(n); }
static void NoRain(Client player, string[] cmd, int iarg) { ChangeGameState ns = new ChangeGameState(GameState.EndRaining); player.Queue.Queue(ns); }