public override void Draw(GameTime gameTime) { switch (castle.Upgrade) { case 1: { castle0.Draw(gameTime); break; } case 2: { castle1.Draw(gameTime); break; } case 3: { castle2.Draw(gameTime); break; } case 4: { castle3.Draw(gameTime); break; } case 5: { castle4.Draw(gameTime); break; } case 6: { castle5.Draw(gameTime); break; } default: { castle0.Draw(gameTime); break; } } base.Draw(gameTime); }
public override void Draw(GameTime gameTime) { theGround.Draw(gameTime); theTrees.Draw(gameTime); theShrooms.Draw(gameTime); theRiver.Draw(gameTime); base.Draw(gameTime); }