Exemplo n.º 1
0
 //Method for adding basic figure
 public void AddFigure(string figureType, int startPositionX, int startPositionY, int finalyPositionX, int finalyPositionY)
 {
     _figure = FigureFactory.Get(figureType);
     AddFigureToField(_figure, new Position(startPositionX, startPositionY));
     _finalPositions = new Position(finalyPositionX, finalyPositionY);
 }