From 2e9fccd99a44f3e5ae11ac70f5e7282ec85d9f98 Mon Sep 17 00:00:00 2001 From: MARKPRO44 <119742977+MARKPRO4444@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:06:51 +0300 Subject: [PATCH] ClientJoin --- ZoFo/GameCore/Client.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ZoFo/GameCore/Client.cs b/ZoFo/GameCore/Client.cs index 5ee0546..81d137d 100644 --- a/ZoFo/GameCore/Client.cs +++ b/ZoFo/GameCore/Client.cs @@ -27,12 +27,18 @@ namespace ZoFo.GameCore public void GameEndedUnexpectedly(){ } - public void JoinRoom(){ } + public void JoinRoom(string ip) + { + networkManager.JoinRoom(ip); + } - public void JoinYourself(){ } + public void JoinYourself() + { + networkManager.JoinYourself(); + } internal void Update(GameTime gameTime) - { + { } internal void Draw(SpriteBatch spriteBatch)