40 lines
528 B
C++
40 lines
528 B
C++
/*
|
|
* GuiController.cpp
|
|
*
|
|
* Created on: Nov 26, 2016
|
|
* Author: tibi
|
|
*/
|
|
|
|
#include <controller/GuiController.h>
|
|
|
|
#include <cassert>
|
|
|
|
namespace farmlands
|
|
{
|
|
namespace controller
|
|
{
|
|
|
|
GuiController::GuiController()
|
|
: m_gameState(nullptr)
|
|
{
|
|
}
|
|
|
|
GuiController::~GuiController()
|
|
{
|
|
}
|
|
|
|
void GuiController::initialize(GameState* gameState)
|
|
{
|
|
assert(gameState != nullptr);
|
|
|
|
m_gameState = gameState;
|
|
}
|
|
|
|
bool GuiController::processEvent(SDL_Event& event)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
} /* namespace controller */
|
|
} /* namespace farmlands */
|