Chatnachrichten werden jetzt angezeigt

This commit is contained in:
2014-05-01 20:30:33 +02:00
parent 8cada1d5ce
commit 30579e1488
9 changed files with 107 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
namespace WorldOfPeacecraft
{
public class Message
public class Message : IChatMessage
{
int sourceID;
string source;
@@ -14,6 +14,21 @@ namespace WorldOfPeacecraft
source = src;
text = txt;
}
public string GetMessage()
{
return text;
}
public string GetSender()
{
return source;
}
public bool IsSenderPlayer ()
{
return true;
}
}
}