minor changes

This commit is contained in:
Сухинов Сережа 2024-08-15 09:44:36 +03:00
parent 2fb9c235e0
commit 388858f6d2

View file

@ -7,6 +7,7 @@ using System.Threading.Tasks;
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Input;
using ZoFo.GameCore.GUI;
using static System.Collections.Specialized.BitVector32; using static System.Collections.Specialized.BitVector32;
namespace ZoFo.GameCore.GameManagers namespace ZoFo.GameCore.GameManagers
@ -20,7 +21,7 @@ namespace ZoFo.GameCore.GameManagers
public static AppManager Instance { get; private set; } public static AppManager Instance { get; private set; }
public GameState gamestate; public GameState gamestate;
//public AbstractGUI currentGUI; public AbstractGUI currentGUI;
//public Client client; //public Client client;
//public Server server; //public Server server;
@ -75,6 +76,7 @@ namespace ZoFo.GameCore.GameManagers
case GameState.NotPlaying: case GameState.NotPlaying:
break; break;
case GameState.HostPlaying: case GameState.HostPlaying:
//server.Update(GameTime gameTime);
//client.Update(GameTime gameTime); //client.Update(GameTime gameTime);
break; break;
case GameState.ClientPlaying: case GameState.ClientPlaying:
@ -110,9 +112,9 @@ namespace ZoFo.GameCore.GameManagers
{ {
this.gamestate = gameState; this.gamestate = gameState;
} }
public void SetGUI(/*AbstractGUI gui*/) public void SetGUI(AbstractGUI gui)
{ {
//currentGUI = gui; currentGUI = gui;
//TODO //TODO
} }