mysimulation/server/tso.common/Rendering/Framework/Game.cs
Tony Bark 22191ce648 Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
2024-05-01 02:55:43 -04:00

30 lines
738 B
C#
Executable file

using Microsoft.Xna.Framework;
namespace FSO.Common.Rendering.Framework
{
public abstract class Game : Microsoft.Xna.Framework.Game
{
protected GraphicsDeviceManager Graphics;
protected GameScreen Screen;
public Game() : base()
{
Graphics = new GraphicsDeviceManager(this);
}
protected override void Initialize(){
base.Initialize();
Screen = new GameScreen(GraphicsDevice);
}
protected override void Update(GameTime gameTime){
Screen.Update(gameTime, IsActive);
}
protected override void Draw(GameTime gameTime){
base.Draw(gameTime);
Screen.Draw(gameTime);
}
}
}