protected override AvailableOptions[] GetAvailableOptions(Direction direction) { return(new[] { AvailableOptions.AnyMove(), AvailableOptions.Are(Option.AttackWithFire, Option.ConsumeFire, Option.NoOperation) }); }
protected override AvailableOptions[] GetAvailableOptions(Direction direction) { if (direction.IsHorizontal) { return(new[] { AvailableOptions.AnyMove() }); } else { return(new[] { AvailableOptions.Are(Option.NoOperation) }); } }
protected override AvailableOptions[] GetAvailableOptions(Direction direction) { if (direction.IsVertical) { return new[] { AvailableOptions.AnyMove() }; } else { return new[] { AvailableOptions.Are(Option.NoOperation) }; } }