public MoveOrder(Creature creature) { this.creature = creature; EngManager.StartCoroutine(SetOrderControl(creature.encounter.board, creature.boardTile, creature.MoveSpeedLeft, Color.Aqua, new List <TileOrderCriteria>() { TileOrderCriteria.WithoutCreature })); }
public SpellSingleNormalTargetOrder(Creature creature, Spell spell) { this.creature = creature; this.spell = spell; EngManager.StartCoroutine(SetOrderControl(creature.encounter.board, creature.boardTile, spell.maxRange, Color.MistyRose, new List <TileOrderCriteria>() { TileOrderCriteria.WithCreature })); }
public SingleNormalTargetOrder(Creature creature, Object controlObject, int range, Color?color = null) { this.creature = creature; this.controlObject = controlObject; EngManager.StartCoroutine(SetOrderControl(creature.encounter.board, creature.boardTile, range, color ?? Color.OrangeRed, new List <TileOrderCriteria>() { TileOrderCriteria.WithCreature })); }
public AttackOrder(Creature creature, Weapon weapon, bool standardAttackAction = true, bool bonusAction = false, bool offHand = false) { this.creature = creature; this.weapon = weapon; this.standardAttackAction = standardAttackAction; this.bonusAction = bonusAction; this.offHand = offHand; EngManager.StartCoroutine(SetOrderControl(creature.encounter.board, creature.boardTile, weapon.maxRange, Color.MistyRose, new List <TileOrderCriteria>() { TileOrderCriteria.WithCreature })); }
public override void SelectionMade() { base.SelectionMade(); EngManager.StartCoroutine(creature.MoveOrder(orderControl.selection)); }
public void SetInitialVariables() { engManager = new EngManager(spriteBatch, graphics, new Vector2(800, 600), true); editingMode = false; layingGround = false; }
public override void Yes(Button button, Button.ButtonEventArgs e) { DestroyAndChildren(); EngManager.StartCoroutine(DoAttack()); }