GameCommand.cpp 383 bytes
#include "Commands/GameCommand.h"
#include "States/GameState.h"
GameCommand::GameCommand(IStateManager& state_manager, std::unique_ptr<GameBuilderDirector>&& ptr_director) :
        ChangeStateCommand(state_manager), m_ptr_director(std::move(ptr_director)) {}
//void GameCommand::execute() {
//    m_ptr_state_manager.set_next_state(m_ptr_director->build(m_ptr_state_manager));
//}