Beginning to create the placeholder classes

This commit is contained in:
Kayne Ruse
2013-08-29 19:57:25 +10:00
parent d5f7363c33
commit b675f516e7
13 changed files with 135 additions and 50 deletions
+2 -4
View File
@@ -6,9 +6,10 @@
#include <map>
#include <string>
//The abstract base class for all rooms
class BaseRoom {
public:
BaseRoom(std::map<std::string, std::string> args);
BaseRoom() = default;
~BaseRoom() = default;
virtual void Init() = 0;
@@ -21,13 +22,10 @@ public:
MailBox* GetMailBox() { return& mailBox; }
protected:
std::map<std::string, std::string> const arguments;
MailBox mailBox;
private:
bool running = true;
};
int roomThread(void*);
#endif