public CommandSerifView(GameScreen screen, Command command, CharacterView characterView) : base(screen) { this.command = command; this.characterView = characterView; LoadContent(); }
public override void Begin() { base.Begin(); this.command = ModelManager.CreateEnemyCommand(enemy); Scheduler.Add(say, 0.2f); Scheduler.Add(delegate() { ControllerManager.PerformCommand(command); }, 0.6f); }
public Job(string name, Command command, int maxHp, int maxMp, int exp, bool hasSexTexture) { this.name = name; this.command = command; this.maxHp = maxHp; this.maxMp = maxMp; this.exp = exp; this.hasSexTexture = hasSexTexture; }
public CommandEffectView(GameScreen screen, Command command, CharacterView characterView) : base(screen) { this.command = command; this.characterView = characterView; int diff = (command.Target is Player) ? 10 : -10; characterView.CharacterPosition = new Vector2(diff, 0); elapsed = 0; active = true; }
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 void PerformCommand(Command command) { command.Perform(); if (IsBattleEnd()) FinalizeBattle(); }
public void PerformCommand(Command command) { CommandEffectView effect = new CommandEffectView(Screen, command, ViewManager.ViewForCharacter(command.Target)); effect.EffectEnd += effectEnd; controller.Views.Add(effect); }
private string CommandLabel(Command command) { return Message("Command", command.Name, "Name"); }
public CommandPerformController(ControllerManager controllerManager, Command command) : base(controllerManager) { this.command = command; AddViews(ViewManager.Characters); }