public EachUpgradeCanDoAction( AbilityPart eachUpgradeAction, Action onFinish = null, ConditionsBlock conditions = null ) { EachUpgradeAction = eachUpgradeAction; OnFinish = onFinish; Conditions = conditions; }
public EachShipCanDoAction( Action <GenericShip, Action> eachShipAction, Action onFinish = null, ConditionsBlock conditions = null, AbilityDescription description = null) { EachShipAction = eachShipAction; OnFinish = onFinish ?? Triggers.FinishTrigger; Conditions = conditions; AbilityDescription = description; }