Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

Person.h

00001 #ifndef ERIS_PERSON_H
00002 #define ERIS_PERSON_H
00003 
00004 #include <string>
00005 
00006 namespace Atlas {
00007   namespace Objects {
00008     namespace Entity { class Account; }
00009   }
00010 }
00011 
00012 namespace Eris
00013 {
00014 
00015 class Lobby;    
00016     
00020 class Person {
00021 public:
00023     Person(Lobby *l, const Atlas::Objects::Entity::Account &acc);
00024 
00026     void sight(const Atlas::Objects::Entity::Account &acc);
00027 
00029     void msg(const std::string &msg);
00030 
00032     const std::string& getAccount() const { return _id; }
00034     const std::string& getName() const {return _name;}
00035 
00037     Lobby* getLobby() const {return _lobby;}
00038 
00039 protected:
00040     const std::string _id;      
00041     std::string _name;  
00042         // other fields ...
00043 
00044     Lobby* _lobby;      
00045 };
00046 
00047 }
00048 
00049 #endif

Generated on Wed Nov 10 20:56:36 2004 for Eris by  doxygen 1.3.9.1