Ignore:
Timestamp:
2011-07-01 11:34:49 (10 years ago)
Author:
rolipark
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/RoosaP/FindTheWay/FindTheWay/FindTheWay/Peli.cs

    r2383 r2401  
    157157        if (kohde.Tag.ToString() == "kukkanen") 
    158158        { 
    159             pisteLaskuri.Value = pisteLaskuri.Value + 2; 
     159            pisteLaskuri.Value = pisteLaskuri.Value + 1; 
    160160            kohde.Tag = ""; 
    161161        } 
     
    173173        if (kohde.Tag.ToString() == "kukka2") 
    174174        { 
    175             pisteLaskuri.Value = pisteLaskuri.Value - 2; 
     175            pisteLaskuri.Value = pisteLaskuri.Value - 1; 
    176176            kohde.Tag = ""; 
    177177        } 
     
    197197        topIkkuna.Closed += TallennaPisteet; 
    198198        Add(topIkkuna); 
     199        Begin();  
    199200    } 
    200201 
     
    214215    { 
    215216        DataStorage.Save<ScoreList>(topLista, "pisteet.xml"); 
    216  
    217217    } 
    218218} 
Note: See TracChangeset for help on using the changeset viewer.