public PlayWindow(WindowHandler windowHandler) { this._windowHandler = windowHandler; GoodCellList = new List <GoodCell>(); VirusList = new List <Virus>(); _levelParser = new LevelParser(this); _statsHandler = Shared.StatsHandler; mouseWatch.Start(); }
public PlayWindow(WindowHandler windowHandler) { this._windowHandler = windowHandler; GoodCellList = new List<GoodCell>(); VirusList = new List<Virus>(); _levelParser = new LevelParser(this); _statsHandler = Shared.StatsHandler; mouseWatch.Start(); }
public Game1() { graphics = new GraphicsDeviceManager(this); contentManager = new ContentManager(Services); contentManager.RootDirectory = "Content"; _windowHandler = new WindowHandler(this); this.TargetElapsedTime = TimeSpan.FromSeconds(1 / FPS); graphics.PreferredBackBufferWidth = 1280; //GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width *3 / 4; graphics.PreferredBackBufferHeight = 720; // GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height * 3 / 4; graphics.PreferredBackBufferWidth = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width; graphics.PreferredBackBufferHeight = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height; //graphics.IsFullScreen = true; this.IsMouseVisible = true; }
public Game1() { graphics = new GraphicsDeviceManager(this); contentManager = new ContentManager(Services); contentManager.RootDirectory = "Content"; _windowHandler = new WindowHandler(this); this.TargetElapsedTime = TimeSpan.FromSeconds(1 / FPS); graphics.PreferredBackBufferWidth = 1280;//GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width *3 / 4; graphics.PreferredBackBufferHeight = 720; // GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height * 3 / 4; graphics.PreferredBackBufferWidth = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width; graphics.PreferredBackBufferHeight = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height; //graphics.IsFullScreen = true; this.IsMouseVisible = true; }