Ignore:
Timestamp:
2011-06-28 11:01:29 (10 years ago)
Author:
jumakall
Message:

Pelin valikko valmis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JuhoK/SFN/SFN/SFN/Peli.cs

    r2176 r2198  
    2222        Level.Background.Image = MenuBackround; 
    2323 
    24         //Start game button 
     24        //Quit game button 
    2525        PushButton quit_game = new PushButton("Quit game"); 
    2626        quit_game.Clicked += new Action(quit_game_Clicked); 
    2727        quit_game.Position = new Vector(380.0, -50.0); 
    2828        Add(quit_game); 
     29 
     30        //Load game button  
     31        PushButton load_game = new PushButton("Load game"); 
     32        load_game.Clicked += new Action(load_game_Clicked); 
     33        load_game.Position = new Vector(200.0, -50.0); 
     34        Add(load_game); 
     35 
     36        //New game button 
     37        PushButton new_game = new PushButton("New game"); 
     38        new_game.Clicked += new Action(new_game_Clicked); 
     39        new_game.Position = new Vector(20.0, -50.0); 
     40        Add(new_game); 
     41    } 
     42 
     43    void new_game_Clicked() 
     44    { 
     45        MessageDisplay.Add("Can't start new game. Game engine not availible."); 
     46    } 
     47 
     48    void load_game_Clicked() 
     49    { 
     50        MessageDisplay.Add("Can't load game. Game save system not availible."); 
    2951    } 
    3052 
Note: See TracChangeset for help on using the changeset viewer.