#pragma once #include "Command.h" class ControlBooleanCommand : public Command { public: ControlBooleanCommand(bool & target); ControlBooleanCommand(bool & target, bool set); public: virtual void execute(); private: bool toggle = true; bool value; bool & target; };