Exemple #1
0
        public static MissionView[] OpenTestMission(Mission mission)
        {
            List <MissionView> missionViewList = new List <MissionView>();

            missionViewList.Add(ViewCreator.CreateMissionAgentStatusUIHandler(mission));
            // missionViewList.Add(ViewCreator.CreateMissionAgentLabelUIHandler(mission));
            missionViewList.Add(ViewCreator.CreateOrderTroopPlacerView(mission));
            // missionViewList.Add(ViewCreator.CreateMissionScoreBoardUIHandler(mission, false));
            missionViewList.Add(ViewCreator.CreateMissionKillNotificationUIHandler());
            missionViewList.Add((MissionView) new MissionItemContourControllerView());
            missionViewList.Add((MissionView) new MissionAgentContourControllerView());
            missionViewList.Add(ViewCreator.CreateMissionFlagMarkerUIHandler());
            // missionViewList.Add(ViewCreator.CreateOptionsUIHandler());
            // missionViewList.Add(ViewCreator.CreateMissionBoundaryCrossingView());
            // missionViewList.Add((MissionView) new MissionBoundaryWallView());
            // missionViewList.Add((MissionView) new SpectatorCameraView());
            missionViewList.Add(ViewCreator.CreateMissionOrderUIHandler());
            missionViewList.Add(new CaptureTheBannerLordMissionView(mission));
            return(missionViewList.ToArray());
        }