public override bool Init() { backgroundImage = Game.Content.Load<Texture2D>(@"Backgrounds\mainmenu"); maleButton = new PictureBox(Game.Content.Load<Texture2D>(@"Characters\ninja_boy_little"), maleButtonPosition); femaleButton = new PictureBox(Game.Content.Load<Texture2D>(@"Characters\ninja_girl_little"), femaleButtonPosition); return base.Init(); }
public override bool Init() { backgroundImage = Game.Content.Load<Texture2D>(@"Backgrounds\duelscreen"); Vector2 yesButtonPos = new Vector2(350f, 400f); yesButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\Yes"), yesButtonPos); Vector2 noButtonPos = new Vector2(550f, 400f); noButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\No"), noButtonPos); return base.Init(); }
public override bool Init() { backgroundImage = Game.Content.Load<Texture2D>(@"Backgrounds\shop"); Vector2 brainPowerButtonPos = new Vector2(400f, 280f); Vector2 motivationButtonPos = new Vector2(brainPowerButtonPos.X, brainPowerButtonPos.Y + 70); Vector2 patienceButtonPos = new Vector2(brainPowerButtonPos.X, motivationButtonPos.Y + 70); Vector2 workDedicationButtonPos = new Vector2(brainPowerButtonPos.X, patienceButtonPos.Y + 70); Vector2 goodLuckButtonButtonPos = new Vector2(brainPowerButtonPos.X - 350, workDedicationButtonPos.Y + 20); brainPowerButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\BrainPower"), brainPowerButtonPos); motivationButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\Motivation"), motivationButtonPos); patienceButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\Patience"), patienceButtonPos); workDedicationButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\WorkDedication"), workDedicationButtonPos); goodLuckButton = new PictureBox(Game.Content.Load<Texture2D>(@"Controls\GoodLuck"), goodLuckButtonButtonPos); return base.Init(); }