00001 #ifndef XCLONE_CHAT_H 00002 #define XCLONE_CHAT_H 00003 00004 #include "includes.h" 00005 #include "Singleton.h" 00006 00007 class Chat : public Singleton<Chat> 00008 { 00009 friend class Singleton<Chat>; 00010 00011 private: 00012 std::string _message; 00013 std::string _input; 00014 00015 public: 00016 Chat(); 00017 ~Chat(); 00018 void draw(); 00019 void inputMessage( std::string text ); 00020 void sendMessage( std::string text ); 00021 }; 00022 00023 #endif /* XCLONE_CHAT_H */ 00024