コード例 #1
0
 public TileSheetDeleteCommand(Map map, TileSheet tileSheet, MapTreeView mapTreeView)
 {
     m_map = map;
     m_tileSheet = tileSheet;
     m_mapTreeView = mapTreeView;
     m_description = "Delete tile sheet \"" + tileSheet.Id + "\"";
 }
コード例 #2
0
ファイル: TileSheetNewCommand.cs プロジェクト: dekk7/xEngine
 public TileSheetNewCommand(Map map, TileSheet newTileSheet, MapTreeView mapTreeView)
 {
     m_map = map;
     m_newTileSheet = newTileSheet;
     m_mapTreeView = mapTreeView;
     m_description = "Add new tile sheet \"" + newTileSheet.Id + "\"";
 }
コード例 #3
0
        public TileSheetPropertiesDialog(TileSheet tileSheet, bool isNewTileSheet, MapTreeView mapTreeView)
        {
            InitializeComponent();

            m_tileSheet = tileSheet;
            m_isNewTileSheet = isNewTileSheet;
            m_mapTreeView = mapTreeView;
        }
コード例 #4
0
ファイル: LayerDeleteCommand.cs プロジェクト: dekk7/xEngine
 public LayerDeleteCommand(Map map, Layer layer, MapTreeView mapTreeView)
 {
     m_map = map;
     m_layer = layer;
     m_layerIndex = map.Layers.IndexOf(layer);
     m_mapTreeView = mapTreeView;
     m_description = "Delete layer \"" + layer.Id + "\"";
 }