00001
00002
00003 #ifndef _COMMANDER_SERVER_H
00004 #define _COMMANDER_SERVER_H
00005
00006 #include "commander.h"
00007 #include <string>
00008 #include <sstream>
00009
00010
00011
00012
00018 class CommanderServer : public Commander
00019 {
00020 public:
00021 CommanderServer() { };
00022 virtual ~CommanderServer(){ };
00023
00024
00025 protected:
00026
00035 virtual void processCommand(const std::string &command, int playerID);
00036
00037
00038
00039
00040 void command_chat(std::stringstream &args, int playerID);
00041 void command_quit(std::stringstream &args, int playerID);
00042
00043 };
00044
00045 #endif