Exemplo n.º 1
0
 private void ApplySpecificGUI(MicrobeEditorTutorialGUI gui)
 {
     foreach (var tutorial in Tutorials)
     {
         tutorial.ApplyGUIState(gui);
     }
 }
Exemplo n.º 2
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            gui.CellEditorUndoHighlight.TargetControl = ShownCurrently ? EditorUndoButtonControl : null;

            gui.CellEditorUndoVisible           = ShownCurrently;
            gui.CellEditorUndoHighlight.Visible = ShownCurrently;
        }
Exemplo n.º 3
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            gui.AutoEvoPredictionVisible = ShownCurrently;

            gui.AutoEvoPredictionHighlight.TargetControl = ShownCurrently ? EditorAutoEvoPredictionPanel : null;
            gui.AutoEvoPredictionHighlight.Visible       = ShownCurrently;
        }
Exemplo n.º 4
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            if (gui.AutoEvoPredictionHighlight == null)
            {
                throw new InvalidOperationException($"{nameof(gui.AutoEvoPredictionHighlight)} has not been set");
            }

            gui.AutoEvoPredictionVisible = ShownCurrently;

            gui.AutoEvoPredictionHighlight.TargetControl = ShownCurrently ? EditorAutoEvoPredictionPanel : null;
            gui.AutoEvoPredictionHighlight.Visible       = ShownCurrently;
        }
Exemplo n.º 5
0
        public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
        {
            if (gui.CellEditorUndoHighlight == null)
            {
                throw new InvalidOperationException($"{nameof(gui.CellEditorUndoHighlight)} has not been set");
            }

            gui.CellEditorUndoHighlight.TargetControl = ShownCurrently ? EditorUndoButtonControl : null;

            gui.CellEditorUndoVisible           = ShownCurrently;
            gui.CellEditorUndoHighlight.Visible = ShownCurrently;
        }
Exemplo n.º 6
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.PatchMapVisible = ShownCurrently;
 }
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.CellEditorIntroductionVisible = ShownCurrently;
 }
Exemplo n.º 8
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.EditorEntryReportVisible = ShownCurrently;
 }
Exemplo n.º 9
0
 public virtual void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     DefaultGUIStateHandle();
 }
Exemplo n.º 10
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.CellEditorClosingWordsVisible = ShownCurrently;
 }
Exemplo n.º 11
0
 public override void ApplyGUIState(MicrobeEditorTutorialGUI gui)
 {
     gui.StaySmallTutorialVisible = ShownCurrently;
 }