diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2008-10-27 15:46:23 +0000 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2008-10-27 15:46:23 +0000 |
commit | 59233e49d85d2c805c46d5519b0224da1239c4f5 (patch) | |
tree | ec12d1f37b15fa736e243c7124f41ea80ab0b4dc /src/game.cpp | |
parent | db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a (diff) | |
download | mana-59233e49d85d2c805c46d5519b0224da1239c4f5.tar.gz mana-59233e49d85d2c805c46d5519b0224da1239c4f5.tar.bz2 mana-59233e49d85d2c805c46d5519b0224da1239c4f5.tar.xz mana-59233e49d85d2c805c46d5519b0224da1239c4f5.zip |
add effect handler (by Chuck Miller)
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index b4c9190d..6c370d83 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -86,6 +86,7 @@ #include "net/posthandler.h" #include "net/playerhandler.h" #include "net/tradehandler.h" +#include "net/effecthandler.h" #include "resources/imagewriter.h" @@ -277,6 +278,7 @@ Game::Game(): mPlayerHandler(new PlayerHandler()), mPostHandler(new PostHandler()), mTradeHandler(new TradeHandler()), + mEffectHandler(new EffectHandler()), mLogicCounterId(0), mSecondsCounterId(0) { done = false; @@ -324,6 +326,7 @@ Game::Game(): Net::registerHandler(mPlayerHandler.get()); Net::registerHandler(mPostHandler.get()); Net::registerHandler(mTradeHandler.get()); + Net::registerHandler(mEffectHandler.get()); } Game::~Game() |