示例#1
0
        public new static Subtexture GetModeIcon(Modes mode)
        {
            switch (mode)
            {
            case RespawnRoundLogic.Mode:
                return(TFGame.MenuAtlas["gameModes/respawn"]);

            case MobRoundLogic.Mode:
                return(TFGame.MenuAtlas["gameModes/crawl"]);

            default:
                return(VersusModeButton.GetModeIcon(mode));
            }
        }
示例#2
0
        public new static string GetModeName(Modes mode)
        {
            switch (mode)
            {
            case RespawnRoundLogic.Mode:
                return("RESPAWN");

            case MobRoundLogic.Mode:
                return("CRAWL");

            default:
                return(VersusModeButton.GetModeName(mode));
            }
        }