Пример #1
0
 public MoveImpl(CellPlace target_cell, OrientedCell.CellOrientation orient, CellPlace unit_place, int steps)
     : base(unit_place)
 {
     this.target_cell = target_cell;
     this.steps       = steps;
     this.orient      = orient;
 }
Пример #2
0
 public CardMoveImpl(CellPlace target_cell, OrientedCell.CellOrientation orient, int card_idx) :
     base(target_cell, orient, null, 0)
 {
     this.card_idx = card_idx;
 }
Пример #3
0
 public KillMoveImpl(CellPlace target_cell, OrientedCell.CellOrientation orient, CellPlace unit_place, CellPlace unit_to_kill_place, int steps, bool isHealing) :
     base(target_cell, orient, unit_place, steps)
 {
     this.isHealing          = isHealing;
     this.unit_to_kill_place = unit_to_kill_place;
 }