Changeset 5944 for 2014


Ignore:
Timestamp:
2015-06-09 14:55:34 (4 years ago)
Author:
taeekotr
Message:
 
Location:
2014/24/EemeliK/Zombieland/Files/ZombieLandV1.0
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • 2014/24/EemeliK/Zombieland/Files/ZombieLandV1.0/ZombieLand/ZombieLand/ZombieLand.cs

    r5942 r5944  
    225225        level.SetTileMethod('#', LuoLattia); 
    226226        level.SetTileMethod('W', LuoPenkki); 
    227         // level.SetTileMethod('Q', LuoPuu); 
     227        level.SetTileMethod('Q', LuoPuu); 
    228228        level.SetTileMethod('I', ParkkiPaikka); 
    229229        level.SetTileMethod('N', LuoLoottiSpawniLattia); 
     
    741741            v.ElamaLaskuri.Value -= a.Velocity.Magnitude * DMG_FACTOR; 
    742742        }; 
     743        auto.IsUpdated = true; 
     744        auto.NeedsUpdateCall = true; 
     745        auto.Updated += LuoRenkaanJaljet; 
    743746 
    744747        Add(auto, 1); 
    745748    } 
     749 
     750    void LuoRenkaanJaljet(PhysicsObject auto) 
     751    { 
     752 
     753    } 
     754 
    746755    void LuoPelaajan2Ase() 
    747756    { 
Note: See TracChangeset for help on using the changeset viewer.