PumpkinBrush
BrushFactory.hpp
Go to the documentation of this file.
1 #include "GeneralBrush.hpp"
2 
6 class BrushFactory {
7 private:
8 
9 public:
10  GeneralBrush* createBrush(int type);
11 };
BrushFactory::createBrush
GeneralBrush * createBrush(int type)
Create function which takes in an argument and return a brush instance.
Definition: BrushFactory.cpp:8
GeneralBrush
GeneralBrush class which represent the brush instance when drawing on the canvas.
Definition: GeneralBrush.hpp:13
GeneralBrush.hpp
BrushFactory
Brush factory class which initialize brush instance.
Definition: BrushFactory.hpp:6