private void btTree_Shoot_Click(object sender, EventArgs e) { ctype = typeO.tree_shoot; pImageType.Image = Image.FromFile("tree_shoot.png"); }
private void bt_leaf_Click(object sender, EventArgs e) { ctype = typeO.leaf; pImageType.Image = Image.FromFile("leaf.png"); }
private void btTortoise_red_Click(object sender, EventArgs e) { ctype = typeO.tortoise_red; pImageType.Image = Image.FromFile("tortoise_red.png"); }
private void btTree_Click(object sender, EventArgs e) { ctype = typeO.tree; pImageType.Image = Image.FromFile("tree.png"); pImageType.Size = new Size(32, 32); }
public GameObject(int _id, typeO t) { id = _id; type = t; }
private void btTortoise_Click(object sender, EventArgs e) { ctype = typeO.tortoise; pImageType.Image = Image.FromFile("tortoise.png"); pImageType.Size = new System.Drawing.Size(16, 16); pbImgMap.Controls.Add(pImageType); //pImageType.BringToFront(); }
private void btReset_Click(object sender, EventArgs e) { ctype = typeO._null; }
private void btBrick_Click(object sender, EventArgs e) { ctype = typeO.brick; pImageType.Image = Image.FromFile("brick.png"); }
private void btP_Click(object sender, EventArgs e) { ctype = typeO.p; pImageType.Image = Image.FromFile("p.png"); }
private void btQuestion_Block_Click(object sender, EventArgs e) { ctype = typeO.question_block; pImageType.Image = Image.FromFile("question_block.png"); }
private void btMusic_Click(object sender, EventArgs e) { ctype = typeO.Music; pImageType.Image = Image.FromFile("music.png"); }
private void btMushroom_red_Click(object sender, EventArgs e) { ctype = typeO.mushroom_red; pImageType.Image = Image.FromFile("mushroom_red.png"); }
private void btLand_Click(object sender, EventArgs e) { ctype = typeO.land; pImageType.Image = Image.FromFile("land.png"); }
private void button1_Click(object sender, EventArgs e) { ctype = typeO.UpRise; pImageType.Image = Image.FromFile("hill.png"); }
private void btStar_Click(object sender, EventArgs e) { ctype = typeO.star; pImageType.Image = Image.FromFile("star.png"); }
private void btBox_Click(object sender, EventArgs e) { ctype = typeO.Box; pImageType.Image = Image.FromFile("box.png"); }
private void btTarnooki_fly_Click(object sender, EventArgs e) { ctype = typeO.tarnooki_fly; pImageType.Image = Image.FromFile("tarnooki_fly.png"); }
private void btDrain_Click(object sender, EventArgs e) { ctype = typeO.drain; pImageType.Image = Image.FromFile("drain.png"); }
public int vy; ///// #endregion Fields #region Constructors public GameObject(typeO t) { type = t; }