private void SetMap(int index) { if (index < _tilerMaps.Count && index > -1) { TilerMap = _tilerMaps[index]; DrawTool.SetBrush(new NormalBrush(TilerMap.TileResolution, TileTexture.None)); _mapIndex = index; } else { _mapIndex = -1; TilerMap = null; } TilerMapEditFunctions = new TilerMapEdit(TilerMap); }
private void SetMap(int index) { if (index < _tilerMaps.Count && index > -1) { TilerMap = _tilerMaps[index]; DrawTool.SetBrush(new NormalBrush(TilerMap.TileResolution, TileTexture.None)); _mapIndex = index; } else { _mapIndex = -1; TilerMap = null; } TilerMapEditFunctions = new TilerMapEdit(TilerMap); }
public UndoPaint(TilerMapEdit me) { _me = me; }
public UndoPaint(TilerMapEdit me) { _me = me; }