diff --git a/Client/Enums/SpellTargets.cs b/Client/Enums/SpellTargets.cs index 4758dde..1d2c337 100644 --- a/Client/Enums/SpellTargets.cs +++ b/Client/Enums/SpellTargets.cs @@ -12,5 +12,4 @@ public enum SpellTargets TARGET_UNIT_TARGET_FRIEND, MAX_SPELL_EFFECT_TARGET }; - } diff --git a/Client/Game/ClientGame.cs b/Client/Game/ClientGame.cs index 88f9f6f..2b94ee6 100644 --- a/Client/Game/ClientGame.cs +++ b/Client/Game/ClientGame.cs @@ -50,6 +50,7 @@ private ClientGame(string name, MainWindow window, ClientNetwork network) timer.Start(); } + // Creates new instance of game public static ClientGame Create(string name, string server, MainWindow window) { ClientNetwork network = ClientNetwork.Create(server); @@ -200,7 +201,7 @@ public void UnloadData() public void EndGame(bool win) { ShowCardDeck(false); - MessageBox.Show(win ? "You have won... You are amazing" : "You have lost... You sucks"); + MessageBox.Show(win ? "You have won the match!" : "You have lost the match!"); } // Selects targets on which is spell usable diff --git a/Client/Network/ClientNetwork.cs b/Client/Network/ClientNetwork.cs index 1f1a53e..5b12dfa 100644 --- a/Client/Network/ClientNetwork.cs +++ b/Client/Network/ClientNetwork.cs @@ -18,6 +18,7 @@ public class ClientNetwork : IDisposable "calista.mine.sk" }; + // Returns available servers list public static string[] Servers { get { return servers; } } private ClientNetwork(TcpClient client) @@ -26,6 +27,7 @@ private ClientNetwork(TcpClient client) stream = tcpClnt.GetStream(); } + // Creates new network instance public static ClientNetwork Create(string server) { TcpClient client = null;