// constructor public SearchSolidTile(LevelsSolidTiles levelsSolidTiles, SolidityTile[] solidTiles) { this.levelsSolidTiles = levelsSolidTiles; this.solidTiles = solidTiles; InitializeComponent(); conveyor.SelectedIndex = 0; conveyorBeltFast.SelectedIndex = 0; conveyorBeltNormal.SelectedIndex = 0; doorFormat.SelectedIndex = 0; p3OnEdge.SelectedIndex = 0; p3OnTile.SelectedIndex = 0; p3OverEdge.SelectedIndex = 0; solidEdgeNE.SelectedIndex = 0; solidEdgeNW.SelectedIndex = 0; solidEdgeSE.SelectedIndex = 0; solidEdgeSW.SelectedIndex = 0; solidQuadrant.SelectedIndex = 0; solidQuadrantE.SelectedIndex = 0; solidQuadrantN.SelectedIndex = 0; solidQuadrantS.SelectedIndex = 0; solidQuadrantW.SelectedIndex = 0; solidTile.SelectedIndex = 0; specialTile.SelectedIndex = 0; stairs.SelectedIndex = 0; zCoordPlusHalf.SelectedIndex = 0; }
private void LoadSolidityTileset() { levelsSolidTiles = new LevelsSolidTiles(solidity, new Function(SolidityUpdate)); levelsSolidTiles.FormClosing += new FormClosingEventHandler(editor_FormClosing); }