PumpkinBrush
|
One kind of Brush which draws a square shape of pixels. More...
#include <Brush.hpp>
Public Member Functions | |
Brush () | |
Constructor of Brush. More... | |
sf::Color | getColor () override |
Get color of brush. More... | |
void | setColor (sf::Color color) override |
Set color of brush. More... | |
void | setSize (size size) override |
Set size of brush. More... | |
int | getSize () override |
Get size of brush. More... | |
std::vector< std::vector< int > > | getShader () override |
Get shader of brush. More... | |
int | getType () override |
Get type of brush. More... | |
![]() | |
virtual | ~GeneralBrush () |
One kind of Brush which draws a square shape of pixels.
Brush::Brush | ( | ) |
Constructor of Brush.
|
overridevirtual |
Get color of brush.
Implements GeneralBrush.
|
overridevirtual |
Get shader of brush.
Implements GeneralBrush.
|
overridevirtual |
Get size of brush.
Implements GeneralBrush.
|
overridevirtual |
Get type of brush.
Implements GeneralBrush.
|
overridevirtual |
Set color of brush.
Implements GeneralBrush.
|
overridevirtual |
Set size of brush.
Implements GeneralBrush.