示例#1
0
 public void LoadContent(ContentManager Content)
 {
     _t_menuBackground = Content.Load<Texture2D>("Images/Background/Backround_01");
     //Create button
     howtoplayButton = new Button(0.7f);
     aboutButton = new Button(0.7f);
     playButton = new Button(0.7f);
     exitButton = new Button(0.7f);
     speakerButton = new Button(0.7f);
     musicButton = new Button(0.7f);
     Selectmenu = Content.Load<SoundEffect>("Sounds/MenuSelect");
     SelectmenuInstance = Selectmenu.CreateInstance();
 }
示例#2
0
 public void LoadContent(ContentManager Content)
 {
     _t_About = Content.Load<Texture2D>("Images/Background/About_menu");
     //Create button
     backButton = new Button(0.7f);
 }
示例#3
0
 public void LoadContent(ContentManager Content)
 {
     _t_HowToPlay = Content.Load<Texture2D>("Images/Background/Option_menu");
     //Create button
     backButton = new Button(0.7f);
 }