Exemple #1
0
 void SetupTSE()
 {
     tseMode = TSEMode.Edit;
     SetupSheet();
     ts = GetTileset();
     SetQuickAccessTiles();
     //buttons
     buttons.Clear();
 }
Exemple #2
0
        public void ToggleEditorMode()
        {
            switch (tseMode)
            {
            case (TSEMode.Select):
                SetQuickAccessTiles();
                tseMode = TSEMode.Edit;
                break;

            case (TSEMode.Edit):
                SetSelectTilePos();
                tseMode = TSEMode.Select;
                break;
            }
        }