コード例 #1
0
ファイル: CustomGameSection.cs プロジェクト: fossabot/jazz2
        public override void OnShow(IMenuContainer root)
        {
            base.OnShow(root);

            controls = new MenuControlBase[] {
                new LinkControl(api, "Single Player", OnSinglePlayerPressed),
                new LinkControl(api, "Party Mode [Alpha]", OnPartyModePressed)
            };
        }
コード例 #2
0
ファイル: CustomGameSection.cs プロジェクト: ozgun-kara/jazz2
        public override void OnShow(IMenuContainer root)
        {
            base.OnShow(root);

            controls = new MenuControlBase[] {
                new LinkControl(api, "menu/play custom/single".T(), OnSingleplayerPressed, "menu/play custom/single/desc".T()),
#if ENABLE_SPLITSCREEN
                new LinkControl(api, "menu/play custom/split".T(), OnSplitscreenPressed, "menu/play custom/split/desc".T()),
#endif
                new LinkControl(api, "menu/play custom/multi".T(), OnOnlineMultiplayerPressed, "menu/play custom/multi/desc".T())
            };
        }