internal Ghost Scatter() { var strategy = new DirectToStrategy(new DirectToGhostScatterTarget(this)); return(WithNewCurrentStrategyAndDirection(strategy, Direction.Opposite())); }
public Ghost Scatter() { var strategy = new DirectToStrategy(new DirectToGhostScatterTarget(this)); return(new Ghost(Name, Home, Location, Direction.Opposite(), ScatterTarget, Strategy, currentStrategy: strategy, Edible)); }