コード例 #1
0
ファイル: Leveleditor.cs プロジェクト: GodLesZ/svn-dump
		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
		}
コード例 #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
        }