コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MapScreenControl"/> class.
 /// </summary>
 public GrhAtlasView()
 {
     TilesetConfiguration = null;
     if (!DesignMode && LicenseManager.UsageMode != LicenseUsageMode.Runtime)
     {
         return;
     }
     _transBoxManager = new TransBoxManager();
     _camera          = new Camera2D(ClientSize.ToVector2())
     {
         KeepInMap = false
     };
 }
コード例 #2
0
ファイル: GrhAtlasView.cs プロジェクト: Furt/netgore
        /// <summary>
        /// Initializes a new instance of the <see cref="MapScreenControl"/> class.
        /// </summary>
        public GrhAtlasView()
        {
            TilesetConfiguration = null;
            if (!DesignMode && LicenseManager.UsageMode != LicenseUsageMode.Runtime)
                return;
            _transBoxManager = new TransBoxManager();
            _camera = new Camera2D(ClientSize.ToVector2()) { KeepInMap = false };





        }