diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2008-06-10 00:45:21 +0000 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2008-06-10 00:45:21 +0000 |
commit | f6f031fa4db6fa0ccd6e0b433f61479e9fd85477 (patch) | |
tree | f68634271d7e7f315c122ed7a3a08ad1d05b58b6 /src/game.cpp | |
parent | 2cf38d37f86c5e5d82d77713afd093735db0598a (diff) | |
download | mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.tar.gz mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.tar.bz2 mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.tar.xz mana-f6f031fa4db6fa0ccd6e0b433f61479e9fd85477.zip |
add commandhandler class and fix / add some commands
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 8860d4c4..789a13f6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -32,6 +32,7 @@ #include "beingmanager.h" #include "channelmanager.h" +#include "commandhandler.h" #include "configuration.h" #include "engine.h" #include "flooritemmanager.h" @@ -129,6 +130,7 @@ PartyWindow *partyWindow; BeingManager *beingManager = NULL; FloorItemManager *floorItemManager = NULL; ChannelManager *channelManager = NULL; +CommandHandler *commandHandler = NULL; Particle *particleEngine = NULL; @@ -279,6 +281,7 @@ Game::Game(): beingManager = new BeingManager; floorItemManager = new FloorItemManager(); channelManager = new ChannelManager(); + commandHandler = new CommandHandler(); particleEngine = new Particle(NULL); particleEngine->setupEngine(); @@ -324,6 +327,7 @@ Game::~Game() delete beingManager; delete floorItemManager; delete channelManager; + delete commandHandler; delete joystick; delete particleEngine; delete engine; |