Changeset 4382 for 2012


Ignore:
Timestamp:
2013-07-03 10:21:10 (6 years ago)
Author:
nivikinn
Message:

Talletus.

Location:
2012/27/NikoKi/EpicTankBattle/EpicTankBattle
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/NikoKi/EpicTankBattle/EpicTankBattle/EpicTankBattle/EpicTankBattle.cs

    r4363 r4382  
    141141        LuoTankit(); 
    142142        MultiSelectWindow P1VariValikko = new MultiSelectWindow("Valitse Pelaaja 1 väri", 
    143         "Punainen", "Vihreä", "Sininen", "Keltainen", "Valkoinen", "Musta"); 
     143        "Vihreä", "Punainen", "Sininen", "Keltainen", "Valkoinen", "Musta"); 
    144144        Add(P1VariValikko); 
    145145        P1VariValikko.ItemSelected += PainettiinP1VariValikonNappia; 
     
    150150        { 
    151151            case 0: 
    152                 P1.Image = LoadImage("Punainentankki"); 
     152                P1.Image = LoadImage("Vihreatankki"); 
    153153                P1tykki.Image = LoadImage("Tykki"); 
    154154                Tankki2VariValikko(); 
    155155                break; 
    156156            case 1: 
    157                 P1.Image = LoadImage("Vihreatankki"); 
     157                P1.Image = LoadImage("Punainentankki"); 
    158158                P1tykki.Image = LoadImage("Tykki"); 
    159159                Tankki2VariValikko(); 
     
    185185    { 
    186186        MultiSelectWindow P2VariValikko = new MultiSelectWindow("Valitse Pelaaja 2 väri", 
    187         "Punainen", "Vihreä", "Sininen", "Keltainen", "Valkoinen", "Musta"); 
     187        "Vihreä", "Punainen", "Sininen", "Keltainen", "Valkoinen", "Musta"); 
    188188        Add(P2VariValikko); 
    189189        P2VariValikko.ItemSelected += PainettiinP2VariValikonNappia; 
     
    194194        { 
    195195            case 0: 
     196                P2.Image = LoadImage("Vihreatankki"); 
     197                P2tykki.Image = LoadImage("Tykki"); 
     198                break; 
     199            case 1: 
    196200                P2.Image = LoadImage("Punainentankki"); 
    197                 P2tykki.Image = LoadImage("Tykki"); 
    198                 break; 
    199             case 1: 
    200                 P2.Image = LoadImage("Vihreatankki"); 
    201201                P2tykki.Image = LoadImage("Tykki"); 
    202202                break; 
     
    595595    void Nappaimisto() 
    596596    { 
    597         Vector vasemmalle = new Vector(-1400, 1500); 
    598         Vector oikealle = new Vector(1400, 1500); 
    599         Vector hyppy = new Vector(0, 20000); 
     597        Vector vasemmalle = new Vector(-1400, 1400); 
     598        Vector oikealle = new Vector(1400, 1400); 
     599        Vector hyppy = new Vector(0, 25000); 
    600600 
    601601        Keyboard.Listen(Key.A, ButtonState.Down, LiikutaP1, null, P1, vasemmalle); 
Note: See TracChangeset for help on using the changeset viewer.