Esempio n. 1
0
		public Leveleditor() {
			_graphics = new GraphicsDeviceManager(this);
			Content.RootDirectory = "Content";
			_graphics.PreferredBackBufferWidth = 1200;
			_graphics.PreferredBackBufferHeight = 600;
			//_graphics.IsFullScreen = true;
			IsMouseVisible = true;
			_wallEditor = new WallEditor(this);

			_manager = new Manager(this, _graphics, "Green") { SkinDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\Content\Skin\" };


			// Setting up the shared skins directory
		}
Esempio n. 2
0
        public Leveleditor()
        {
            _graphics             = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            _graphics.PreferredBackBufferWidth  = 1200;
            _graphics.PreferredBackBufferHeight = 600;
            //_graphics.IsFullScreen = true;
            IsMouseVisible = true;
            _wallEditor    = new WallEditor(this);

            _manager = new Manager(this, _graphics, "Green")
            {
                SkinDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\Content\Skin\"
            };


            // Setting up the shared skins directory
        }