Exemple #1
0
        private void y_ValueChanged(object sender, EventArgs e)
        {
            if (!canDetect)
            {
                return;
            }

            tm.y = (int)y.Value;

            Tilemapper.ConvertAndSetMap(tm);
            Tilemapper.SetCurrentTile();
        }
Exemple #2
0
        private void tilesize_ValueChanged(object sender, EventArgs e)
        {
            if (!canDetect)
            {
                return;
            }

            tm.tilesize = (int)tilesize.Value;

            Tilemapper.RefreshEditingEvent();
            Tilemapper.SetCurrentTile();
        }