public CommandSelectController(ControllerManager controllerManager, Player performer) : base(controllerManager) { AddViews(ViewManager.Characters); this.performer = performer; selectView = new CommandSelectView(Screen, (PlayerView)ViewManager.ViewForCharacter(performer)); Views.Add(selectView); }
public override void LoadContent() { JobManager.Instance.LoadContent(ScreenManager.Game.Content); modelManager = ModelManager.Instance; viewManager = new ViewManager(this); viewManager.LoadContent(); controllerManager = new ControllerManager(this); controllerManager.Controller = new StandController(controllerManager); }
public StandController(ControllerManager controllerManager) : base(controllerManager, CharacterSelectType.OnePlayer) { AddViews(ViewManager.Players); Views.Add(new ForwardArrowView(Screen)); Selected += showJobMenu; ModelManager.ResetPlayerStatus(); SelectCharacter(ModelManager.Players[0]); }
public CommandTargetSelectController(ControllerManager controllerManager, Command command, CommandSelectController commandSelectController) : base(controllerManager, CharacterSelectType.One) { this.command = command; this.commandSelectController = commandSelectController; AddViews(ViewManager.Characters); Selected += performCommand; Cancelled += commandReselect; SelectCharacter(ModelManager.Enemies[0]); }
public CommandController(ControllerManager controllerManager) : base(controllerManager) { Views = new List<View>(); foreach (View player in ViewManager.Players) { Views.Add(player); } foreach (View enemy in ViewManager.Enemies) { Views.Add(enemy); } }
public JobMenuController(ControllerManager controllerManager, Player targetPlayer, Controller parentController) : base(controllerManager) { this.targetPlayer = targetPlayer; this.parentController = parentController; Views.Add(new PlayerPreviewView(Screen, targetPlayer)); previewView = new JobPreviewView(Screen, targetPlayer); Views.Add(previewView); treeView = new JobTreeView(Screen, JobManager.Instance.Jobs); Views.Add(treeView); selectView = new JobSelectView(Screen); Views.Add(selectView); JobTreeItemView item = treeView.ItemView(targetPlayer.Job); Select(item); item.Active = true; }
public EndBattleController(ControllerManager controllerManager) : base(controllerManager) { AddViews(ViewManager.Characters); }
public CoroutineController(ControllerManager controllerManager) : base(controllerManager) { }
public LeaveController(ControllerManager controllerManager) : base(controllerManager) { AddViews(ViewManager.Characters); }
public EmptyController(ControllerManager manager) : base(manager) { }
public EncounterController(ControllerManager controllerManager) : base(controllerManager) { AddViews(ViewManager.Players); }
public EnemyCommandPerformController(ControllerManager controllerManager, Enemy enemy) : base(controllerManager) { this.enemy = enemy; AddViews(ViewManager.Characters); }
public GameOverController(ControllerManager controllerManager) : base(controllerManager) { AddViews(ViewManager.Characters); }
public CommandPerformController(ControllerManager controllerManager, Command command) : base(controllerManager) { this.command = command; AddViews(ViewManager.Characters); }