public HexMageGame() { Instance = this; _graphics = new GraphicsDeviceManager(this) { PreferredBackBufferWidth = 1280, PreferredBackBufferHeight = 1024 }; _assetManager = new AssetManager(Content, _graphics.GraphicsDevice); _camera = new Camera2D(_inputManager); Content.RootDirectory = "Content"; }
static void Main(string[] args) { if (!ProcessArguments(args)) { return; } Constants.MctsLogging = true; var cts = new CancellationTokenSource(); CoordRadiusCache.Instance.PrecomputeUpto(50); using (var game = new HexMageGame()) game.Run(); cts.Cancel(); }