Package core.components.factories
Class PointFactory
- java.lang.Object
-
- core.components.factories.PointFactory
-
public class PointFactory extends java.lang.Object
The PointFactory class : This is the factory to create and add new points, that represent the coordinates in the project It is uses the simple factory design pattern
-
-
Constructor Summary
Constructors Constructor Description PointFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.Point
addPoint(int x, int y)
This method creates a new point instance
-