protected bool UnitApply(GenAction action, Point origin, int x, int y, params object[] args) { if (this._outputData != null) { this._outputData.Add(x - origin.X, y - origin.Y); } return(action.Apply(origin, x, y, args)); }
protected bool UnitApply(GenAction action, Point origin, int x, int y, params object[] args) { if (this._outputData != null) { this._outputData.Add(x - origin.X, y - origin.Y); } return action.Apply(origin, x, y, args); }
protected bool UnitApply(Point origin, int x, int y, params object[] args) { if (OutputData != null) { OutputData.Add(x - origin.X, y - origin.Y); } if (NextAction != null) { return(NextAction.Apply(origin, x, y, args)); } return(true); }
public override bool Apply(Point origin, int x, int y, params object[] args) { _action.Apply(origin, x, y, args); return(UnitApply(origin, x, y, args)); }