Changeset 3412 for 2012/26


Ignore:
Timestamp:
2012-06-29 12:37:18 (11 years ago)
Author:
tijamalu
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/26/TimoL/Protect The Idiot/Protect The Idiot/Protect The Idiot/Protect_The_Idiot.cs

    r3403 r3412  
    4646 
    4747    DoubleMeter Elämämittari; 
     48    DoubleMeter lol; 
    4849 
    4950    const double nopeus = 250; 
     
    6061    public override void Begin() 
    6162    { 
    62  
     63        lol = new DoubleMeter(0); 
    6364        alkuValikko(); 
    6465 
     
    6768    void aloitaPeli() 
    6869    { 
     70         
    6971        ClearAll(); 
    70  
     72         if (lol == 1) MessageDisplay.Add("U MAD,BRO?"); 
     73         
    7174        Gravity = new Vector(0, -2500); 
    7275 
     
    9598    { 
    9699        ClearAll(); 
    97  
     100        
    98101 
    99102        MultiSelectWindow alkuValikko = new MultiSelectWindow("Pelin alkuvalikko", 
     
    134137    { 
    135138        Player1.Destroy(); 
    136         MessageDisplay.Add("you are dead"); 
     139        lol.Value = 1; 
    137140        aloitaPeli(); 
    138141    } 
Note: See TracChangeset for help on using the changeset viewer.