Open ghost opened 7 years ago
For example, the flood fill algorithm is implemented within the FloodFillPath constructor, and FloodFillPath inherits from Path.
FloodFillPath
Path
The algorithm should be its own entity that adds to a Path from the outside, rather than being in the constructor of a Path.
For example, the flood fill algorithm is implemented within the
FloodFillPath
constructor, andFloodFillPath
inherits fromPath
.The algorithm should be its own entity that adds to a
Path
from the outside, rather than being in the constructor of aPath
.