Console client: Several fixes, added handling of removed from game event.

This commit is contained in:
lotodore
2008-12-26 23:05:45 +00:00
parent 52fc37a8b7
commit 26391b57d1
10 changed files with 87 additions and 6 deletions
+6
View File
@@ -150,6 +150,12 @@ namespace pokerth_console
Console.WriteLine("\n{0} wins the game.", name);
}
public void RemovedFromGame()
{
Console.WriteLine("You have left the game.");
System.Environment.Exit(1);
}
public void ChatText(string name, string message)
{
Console.WriteLine("{0}: {1}",