I have refactored some parts of your code. This aims to improve maintainability, readability and extensibility of the project.
The techniques implemented are Extract Method, Rename Variable, Introduce Variable, Extract Class, Replace Conditional with Polymorphism and Push Down Method.
I have refactored some parts of your code. This aims to improve maintainability, readability and extensibility of the project. The techniques implemented are Extract Method, Rename Variable, Introduce Variable, Extract Class, Replace Conditional with Polymorphism and Push Down Method.