    : m_onInit{std::move(onInit)}, m_onEnd{std::move(onEnd)} {
  AddRequirements(requirements);
}

StartEndCommand::StartEndCommand(const StartEndCommand& other)
    : CommandHelper(other) {
  m_onInit = other.m_onInit;
  m_onEnd = other.m_onEnd;
}

void StartEndCommand::Initialize() { m_onInit(); }
