Ignore:
Timestamp:
2012-07-06 11:53:40 (9 years ago)
Author:
dezhidki
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/DenisZ/TheDungeonGame/TheDungeonGame/TheDungeonGame/TheDungeonGame.cs

    r3643 r3649  
    3232    public List<Image> objectTextures = new List<Image>(); 
    3333    public static List<SoundEffect> soundEffects = new List<SoundEffect>(); 
     34    public Image menuBg = LoadImage("background/menu"); 
    3435    public InGameGui gui; 
    3536    public static MediaPlayer soundPlayer; 
     
    4546    private void showMainMenu() 
    4647    { 
     48        Level.Background.Image = menuBg; 
    4749        MultiSelectWindow menu = new MultiSelectWindow("Welcome to: \nThe Dungeon Game!",new string[]{"Play!", "Exit"}); 
    4850        menu.AddItemHandler(0, initGame); 
     
    5355    private void initGame() 
    5456    { 
     57        Level.Background.Image = null; 
    5558        Level.Width = ROOMWIDTH * 20; 
    5659        Level.Height = ROOMHEIGHT * 20; 
Note: See TracChangeset for help on using the changeset viewer.