Ejemplo n.º 1
0
 // Area
 public Tileset(Areas.Map areaMap, PaletteSet paletteSet)
 {
     this.Type     = TilesetType.Area;
     this.Width    = 16;
     this.Height   = 32;
     this.HeightL3 = 16;
     this.tileSize = 2;
     //
     this.areaMap    = areaMap;
     this.PaletteSet = paletteSet;
     InitializeGraphics();
     InitializeTilesetBytes();
     InitializeTilesetTiles();
     BuildTilesetTiles();
 }
Ejemplo n.º 2
0
 // Constructor
 public IOArchitecture(string action, int index, Areas.Map areaMap, PaletteSet paletteSet, Tileset tileset, Tilemap tilemap, Areas.PrioritySet prioritySet)
 {
     this.action      = action;
     this.index       = index;
     this.areaMap     = areaMap;
     this.paletteSet  = paletteSet;
     this.tileset     = tileset;
     this.tilemap     = tilemap;
     this.prioritySet = prioritySet;
     InitializeComponent();
     if (action == "import")
     {
         groupBox1.Text = "Import the following elements from architecture file";
     }
     else
     {
         groupBox1.Text = "Export the following elements to architecture file";
     }
 }