From: brady Date: Wed, 31 Mar 2010 06:29:48 +0000 (+0000) Subject: git-svn-id: https://bd85.net/svn/cs3505_group@45 92bb83a3-7c8f-8a45-bc97-515c4e399668 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=86fc3f310085b92db501df7dac8eb408919f5d72;p=chaz%2Fcarfire git-svn-id: https://bd85.net/svn/cs3505_group@45 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- diff --git a/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs b/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs index e580b04..17275a9 100644 --- a/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs +++ b/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs @@ -84,7 +84,7 @@ namespace CS_3505_Project_06 ready = false; chatActive = false; chatMessage = ""; - currentChat = new Queue(); + currentChat = new Queue(); } public void LoadContent(ContentManager contentManager, GraphicsDeviceManager graphics) @@ -166,7 +166,7 @@ namespace CS_3505_Project_06 private void UpdateChat(GameTime gameTime, NetworkGame networkGame) { - currentChat.Concat(networkGame.ReceiveChats); + currentChat.Concat(networkGame.ReceiveChats()); } @@ -295,7 +295,7 @@ namespace CS_3505_Project_06 } else { - updateChat(gameTime, networkGame); + UpdateChat(gameTime, networkGame); chatMessage = ""; if (currentKeyboardState.IsKeyDown(Keys.T) && previousKeyboardState.IsKeyUp(Keys.T)) {