summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
commit44639a6423c03552a3c0faafab27ef8f395f73a6 (patch)
tree1a4fc49a56060759fcbec6f18e9159cf126e8606 /src/game/GameController.cpp
parent4a60b97c700c2f1843b7e99313554cb89fb5da4e (diff)
downloadpowder-44639a6423c03552a3c0faafab27ef8f395f73a6.zip
powder-44639a6423c03552a3c0faafab27ef8f395f73a6.tar.gz
Some folder changes, started search and client
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index becb540..e029fc9 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -4,6 +4,7 @@
#include "Config.h"
#include "GameController.h"
#include "GameModel.h"
+#include "search/SearchController.h"
#include "interface/Point.h"
using namespace std;
@@ -60,3 +61,9 @@ void GameController::SetPaused(bool pauseState)
{
gameModel->SetPaused(pauseState);
}
+
+void GameController::OpenSearch()
+{
+ SearchController * search = new SearchController();
+ ui::Engine::Ref().ShowWindow(search->GetView());
+}