|
PumpkinBrush
|
#include <Erase.hpp>


Public Member Functions | |
| bool | execute () |
| The destructor of the Erase class. More... | |
| bool | undo () |
| Undo the erase pixel command and restore the pixels that were previously erased. More... | |
| void | setOriginalColor () |
| Execute the erase pixel command. More... | |
| Erase (sf::Vector2f coordinate, App *app, int flag, std::string command) | |
| The constructor of the Erase class. 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 |
Erase command.
| Erase::Erase | ( | sf::Vector2f | coordinate, |
| App * | app, | ||
| int | flag, | ||
| std::string | command | ||
| ) |
The constructor of the Erase class.
| void Erase::setOriginalColor | ( | ) |
Execute the erase pixel command.
|
virtual |
Undo the erase pixel command and restore the pixels that were previously erased.
Implements Command.
1.8.17