Ejemplo n.º 1
0
 private void HogButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 500)
     {
         GameScreen.coinScore         -= 500;
         GameScreen.mechs["superJump"] = true;
         hogButton.Enabled             = false;
         hogButton.Visible             = false;
         hogPriceLabel.Visible         = false;
         GameScreen.xmlSave();
     }
 }
Ejemplo n.º 2
0
 private void AirBoiButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 200)
     {
         GameScreen.coinScore            -= 200;
         GameScreen.upgrades["jumpBoost"] = true;
         airBoiButton.Enabled             = false;
         airBoiButton.Visible             = false;
         airBoiPriceLabel.Visible         = false;
         GameScreen.xmlSave();
     }
 }
Ejemplo n.º 3
0
 private void GravitySuitButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 500)
     {
         GameScreen.coinScore       -= 500;
         GameScreen.mechs["gravity"] = true;
         gravitySuitButton.Enabled   = false;
         gravitySuitButton.Visible   = false;
         gravSuitPriceLabel.Visible  = false;
         GameScreen.xmlSave();
     }
 }
Ejemplo n.º 4
0
 private void TeleporterButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 500)
     {
         GameScreen.coinScore          -= 500;
         GameScreen.mechs["teleporter"] = true;
         teleporterButton.Enabled       = false;
         teleporterButton.Visible       = false;
         teleportPriceLabel.Visible     = false;
         GameScreen.xmlSave();
     }
 }
Ejemplo n.º 5
0
 private void JammerBoiButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 500)
     {
         GameScreen.coinScore         -= 500;
         GameScreen.upgrades["jammer"] = true;
         jammerBoiButton.Enabled       = false;
         jammerBoiButton.Visible       = false;
         jamerPriceLabel.Visible       = false;
         GameScreen.xmlSave();
     }
 }
Ejemplo n.º 6
0
 private void XRayBoiButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 400)
     {
         GameScreen.coinScore       -= 400;
         GameScreen.upgrades["xray"] = true;
         xRayBoiButton.Enabled       = false;
         xRayBoiButton.Visible       = false;
         xRayPriceLabel.Visible      = false;
         GameScreen.xmlSave();
     }
 }
Ejemplo n.º 7
0
 private void GravityBoiButton_Click(object sender, EventArgs e)
 {
     if (GameScreen.coinScore >= 300)
     {
         GameScreen.coinScore          -= 300;
         GameScreen.upgrades["ironBoi"] = true;
         gravityBoiButton.Enabled       = false;
         gravityBoiButton.Visible       = false;
         gravBoiPriceLabel.Visible      = false;
         GameScreen.xmlSave();
     }
 }