Ignore:
Timestamp:
2012-07-06 12:46:41 (8 years ago)
Author:
henmatma
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/HenriM/kaljaadventures/kaljaadventures/kaljaadventures/kaljaadventures.cs

    r3659 r3670  
    1010{ 
    1111    ScoreList topLista = new ScoreList(10, true, 9999); 
    12     int kenttataso = 3; 
     12    int kenttataso = 1; 
    1313    IntMeter rasvalaskuri; 
    1414    const double nopeus = 200; 
     
    218218        Label aikaNaytto = new Label(); 
    219219        aikaNaytto.TextColor = Color.White; 
    220         aikaNaytto.Position = new Vector(Screen.LeftSafe + 100, Screen.TopSafe - 50); 
     220        aikaNaytto.Position = new Vector(Screen.RightSafe - 100, Screen.TopSafe - 50); 
    221221        aikaNaytto.DecimalPlaces = 1; 
    222222        aikaNaytto.BindTo(aikaLaskuri.SecondCounter); 
     
    257257    { 
    258258        DataStorage.Save<ScoreList>(topLista, "pisteet.xml"); 
     259        kenttataso = 1; 
     260 
     261        YesNoWindow ikkuna = new YesNoWindow("Haluatko pelata uudestaan?"); 
     262        ikkuna.No += Exit; 
     263        ikkuna.Yes += AloitaPeli; 
     264        Add(ikkuna); 
     265         
    259266    } 
    260267 
Note: See TracChangeset for help on using the changeset viewer.