public Game1(MonoGamePlatform platform) { CurrentPlatform = platform; _graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; IsMouseVisible = true; }
public Neo(Game game, MonoGamePlatform platform) : base(null) { _game = game; _currentPlatform = platform; _game.Window.ClientSizeChanged += OnResize; if (_currentPlatform == MonoGamePlatform.Android) { Scale = 2.5f; } else { Scale = 1f; } DefaultFont = game.Content.Load <NeoFont>("output"); DefaultFont.Atlas = game.Content.Load <Texture2D>("atlas"); _neo = this; }