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

message.h

Go to the documentation of this file.
00001 #ifndef _MESSAGE_H_
00002 #define _MESSAGE_H_
00003 
00004 #include <malloc.h>
00005 #include <string.h>
00006 
00007 struct msgstruct{
00008         int playerid;
00009         char msg[255];
00010 };
00011 
00012 
00013 class Message{
00014 private:
00015         msgstruct msg;
00016         Message *nextMessage;
00017         //Message *prevMessage;
00018         bool islast;
00019 public:
00020         Message();
00021         void setLastMsg(int playerid, const char *msg);
00022         msgstruct getMsgStruct();
00023         bool isLast();
00024         Message *getNextMsg();
00025         int isFrom();
00026 };
00027 
00028 #endif

Generated on Sun Jun 5 15:47:04 2005 for Defacto by  doxygen 1.4.3