Changeset 1362 for 2010/30


Ignore:
Timestamp:
2010-07-28 11:31:14 (9 years ago)
Author:
mikmatla
Message:
 
Location:
2010/30/mikmatla
Files:
15 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2010/30/mikmatla/Pong/Peli.cs

    r1308 r1362  
    131131    IntMeter LuoPisteLaskuri(double x, double y) 
    132132    { 
    133         IntMeter laskuri = new IntMeter(3); 
    134         laskuri.MinValue = 1; 
     133        IntMeter laskuri = new IntMeter(0); 
     134        laskuri.MaxValue = 100; 
    135135        Label naytto = new Label(); 
    136136        naytto.BindTo(laskuri); 
     
    147147        { 
    148148            PalloKeskelle(Pallo); 
    149             pelaajan2Pisteet.Value -= 1; 
     149            pelaajan2Pisteet.Value += 1; 
    150150        } 
    151151        else if (kohde == vasenReuna) 
    152152        { 
    153153            PalloKeskelle(Pallo); 
    154             pelaajan1Pisteet.Value -= 1; 
     154            pelaajan1Pisteet.Value += 1; 
    155155        } 
    156156    } 
Note: See TracChangeset for help on using the changeset viewer.