Beispiel #1
0
        private void addPlatform(object sender, EventArgs e)
        {
            ToolStripButton item = sender as ToolStripButton;

            tipoPlataforma = (TilePlataforma)byte.Parse(item.Tag.ToString());

            this.flechaToolStripButton.Checked = false;
            this.vampyToolStripButton.Checked  = false;
            //this.fantyToolStripButton.Checked = false;
            this.wolfyToolStripButton.Checked  = false;
            this.frankyToolStripButton.Checked = false;
            this.coinToolStripButton.Checked   = false;

            uncheckPlatforms();
            item.Checked = true;

            this.currentStatus = AppState.AddingPlatform;
        }
Beispiel #2
0
        private void addPlatform(object sender, EventArgs e)
        {
            ToolStripButton item = sender as ToolStripButton;
            tipoPlataforma = (TilePlataforma)byte.Parse(item.Tag.ToString());

            this.flechaToolStripButton.Checked = false;
            this.vampyToolStripButton.Checked = false;
            //this.fantyToolStripButton.Checked = false;
            this.wolfyToolStripButton.Checked = false;
            this.frankyToolStripButton.Checked = false;
            this.coinToolStripButton.Checked = false;

            uncheckPlatforms();
            item.Checked = true;

            this.currentStatus = AppState.AddingPlatform;
        }