Example #1
0
 public MoveCapability Slide(Direction direction, int maxSteps)
 {
     moveCapabilities[nMoveCapabilities] = MoveCapability.Slide(direction, maxSteps); return(moveCapabilities[nMoveCapabilities++]);
 }
Example #2
0
 public MoveCapability Slide(Direction direction)
 {
     moveCapabilities[nMoveCapabilities] = MoveCapability.Slide(direction); return(moveCapabilities[nMoveCapabilities++]);
 }