20 lines
235 B
C++
20 lines
235 B
C++
|
/*
|
|||
|
* Control.cpp
|
|||
|
*
|
|||
|
* Created on: 4 нояб. 2021 г.
|
|||
|
* Author: alexander
|
|||
|
*/
|
|||
|
|
|||
|
#include "Control.hpp"
|
|||
|
|
|||
|
void Control::setCommand(Command* command)
|
|||
|
{
|
|||
|
_command = command;
|
|||
|
}
|
|||
|
|
|||
|
void Control::run()
|
|||
|
{
|
|||
|
_command->Execute();
|
|||
|
}
|
|||
|
|