Apply() 공개 추상적인 메소드

public abstract Apply ( System.Point origin, int x, int y ) : bool
origin System.Point
x int
y int
리턴 bool
예제 #1
0
 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));
 }
예제 #2
0
 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);
 }
예제 #3
0
 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);
 }
예제 #4
0
 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));
 }