|
PumpkinBrush
|
#include <Draw.hpp>


Public Member Functions | |
| bool | execute () |
| Execute the command to draw pixels. More... | |
| bool | undo () |
| Undo command to undo the pixel creation. More... | |
| void | setOriginalColor () |
| Get the original color of each pixel. More... | |
| Draw (sf::Vector2f coordinate, App *app, int flag, std::string command) | |
| Constructor of draw command. More... | |
Public Member Functions inherited from Command | |
| Command (int cmdFlag, std::string m_commandDescriptionP) | |
| virtual | ~Command () |
| N/A. More... | |
| std::string | getCommand () |
Additional Inherited Members | |
Public Attributes inherited from Command | |
| int | m_cmdFlag |
| Draw::Draw | ( | sf::Vector2f | coordinate, |
| App * | app, | ||
| int | cmdFlag, | ||
| std::string | command | ||
| ) |
Constructor of draw command.
|
virtual |
Execute the command to draw pixels.
Implements Command.
| void Draw::setOriginalColor | ( | ) |
Get the original color of each pixel.
|
virtual |
Undo command to undo the pixel creation.
Implements Command.
1.8.17