Changeset 9179 for 2017/30/HugoE


Ignore:
Timestamp:
2017-07-27 14:57:14 (2 years ago)
Author:
npo17_65
Message:

Jee

Location:
2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/HanniAndHoo.cs

    r9169 r9179  
    125125    } 
    126126    void Ammus2Osui(PhysicsObject Ammus2, PhysicsObject Kohde2) 
    127     { 
     127    {      
    128128        Ammus2.Destroy(); 
    129         if (!Kohde2.Tag.Equals("pelaaja2")) return; 
     129        if (!Kohde2.Tag.Equals("pelaaja")) return; 
    130130        PeliUkko pu = (PeliUkko)Kohde2; 
    131         pu.Elamalaskuri.AddValue(-7); 
     131        pu.Elamalaskuri.AddValue(-4); 
     132 
     133 
    132134    } 
    133135 
     
    153155        PhysicsObject AlaReuna = Level.CreateBottomBorder(0.0, true); 
    154156        AlaReuna.Tag = "AlaReuna"; 
    155         PhysicsObject OikeaReuna = Level.CreateRightBorder(0.0, true); 
    156         PhysicsObject VasenReuna = Level.CreateLeftBorder(0.0, true); 
    157         PhysicsObject YläReuna = Level.CreateTopBorder(0.0, true); 
     157        PhysicsObject OikeaReuna = Level.CreateRightBorder(1.0, true); 
     158        OikeaReuna.Tag = "OikeaReuna"; 
     159        PhysicsObject VasenReuna = Level.CreateLeftBorder(1.0, true); 
     160        VasenReuna.Tag = "VasenReuna"; 
     161        PhysicsObject YlaReuna = Level.CreateTopBorder(0.0, true); 
     162        YlaReuna.Tag = "YlaReuna"; 
    158163    } 
    159164 
Note: See TracChangeset for help on using the changeset viewer.