From f6f031fa4db6fa0ccd6e0b433f61479e9fd85477 Mon Sep 17 00:00:00 2001 From: Roderic Morris Date: Tue, 10 Jun 2008 00:45:21 +0000 Subject: add commandhandler class and fix / add some commands --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-70-g09d2