Changeset 944 for 2010


Ignore:
Timestamp:
2010-06-17 13:17:45 (13 years ago)
Author:
hniemi
Message:

Aseenvaihto korjattu

Location:
2010/23/hniemi/ShootEmUp/ShootEmUp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 2010/23/hniemi/ShootEmUp/ShootEmUp/Peli.cs

    r932 r944  
    170170            Keyboard.Listen(Key.D1, ButtonState.Pressed, VaihdaAsetta, "Valitsee säde-aseen", 1); 
    171171            Keyboard.Listen(Key.D2, ButtonState.Pressed, VaihdaAsetta, "Valitsee ohjuksen", 2); 
    172             Keyboard.Listen(Key.D3, ButtonState.Pressed, VaihdaAsetta, "Valitsee fotoniaseen", 2); 
     172            Keyboard.Listen(Key.D3, ButtonState.Pressed, VaihdaAsetta, "Valitsee fotoniaseen", 3); 
    173173        } 
    174174 
     
    214214        { 
    215215            List<AikaTapahtuma> vihollistenTuloajat = new List<AikaTapahtuma>(); 
    216             /* 
     216             
    217217            for (int i = 0; i < maara; i++) 
    218218            { 
    219219                vihollistenTuloajat.Add(new AikaTapahtuma(2 + (i * 5), LahetaSatunnainenVihollislaivue, 4, 10)); 
    220220            } 
    221             */ 
    222             vihollistenTuloajat.Add(new AikaTapahtuma(1/*2 + (maara * 7)*/, LahetaLoppupomo, 1, 20)); 
     221            vihollistenTuloajat.Add(new AikaTapahtuma(2 + (maara * 5), LahetaLoppupomo, 1, 20)); 
    223222 
    224223            foreach (AikaTapahtuma tapahtuma in vihollistenTuloajat) 
     
    421420                    { 
    422421                        ((Alus)toinen).TakeHit(((LisaData)ammus.Tag).Damage); 
    423                         if (toinen.IsDestroyed()) score.Value++; 
     422                        if (toinen.IsDestroyed()) score.Value += 300; 
    424423                    } 
    425424                     
Note: See TracChangeset for help on using the changeset viewer.