summaryrefslogtreecommitdiff
path: root/src/cat/CommandInterface.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-02-12 12:53:11 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-02-12 12:53:11 (GMT)
commitec6d1012b263049241984dfc96fae37f4280e7eb (patch)
treeccd5196e7cb207dba032838dfb783dc438030f4c /src/cat/CommandInterface.cpp
parentd604fac18f611685f90c724ee84a7bc6c63da309 (diff)
downloadpowder-ec6d1012b263049241984dfc96fae37f4280e7eb.zip
powder-ec6d1012b263049241984dfc96fae37f4280e7eb.tar.gz
Somewhat working lua console, no element function overrides, no keyboard, mouse or tick events
Diffstat (limited to 'src/cat/CommandInterface.cpp')
-rw-r--r--src/cat/CommandInterface.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cat/CommandInterface.cpp b/src/cat/CommandInterface.cpp
index 485a029..f146ed4 100644
--- a/src/cat/CommandInterface.cpp
+++ b/src/cat/CommandInterface.cpp
@@ -11,13 +11,14 @@
#include "CommandInterface.h"
#include "game/GameModel.h"
-CommandInterface::CommandInterface() {
+CommandInterface::CommandInterface(GameModel * m) {
+ this->m = m;
}
-void CommandInterface::AttachGameModel(GameModel * m)
+/*void CommandInterface::AttachGameModel(GameModel * m)
{
this->m = m;
-}
+}*/
int CommandInterface::Command(std::string command)
{