Changeset 9142 for 2017/30/HugoE


Ignore:
Timestamp:
2017-07-26 15:06:01 (2 years ago)
Author:
npo17_65
Message:
 
Location:
2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo
Files:
5 edited

Legend:

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

    r9141 r9142  
    6565        AddCollisionHandler(Hoo, Hanni, Tormaa); 
    6666    } 
    67     void Tormaa(PhysicsObject tormaaja, PhysicsObject kohde) 
    68     { 
    69          
     67    void Tormaa(PhysicsObject Tormaaja, PhysicsObject Kohde) 
     68    {                 
     69        if (Kohde.Tag != "pelaaja") return; 
     70        PeliUkko pu = (PeliUkko)Kohde; 
     71        pu.Elamalaskuri.AddValue(-1); 
     72 
     73 
    7074    } 
    7175 
Note: See TracChangeset for help on using the changeset viewer.