Ignore:
Timestamp:
2016-06-08 09:01:44 (3 years ago)
Author:
jotapoti
Message:

ampuminen värjää kenttää & peli ei kaadu, jos yrittää ampua ilman asetta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/23/ohjaajat/Punasininen/Punasininen/Punasininen/WeaponCrate.cs

    r7196 r7203  
    99class WeaponCrate : PhysicsObject 
    1010{ 
    11     Weapon WeaponInside; 
    1211 
    13     public WeaponCrate(double leveys, double korkeus, Weapon weaponInside, Image pic, Color color) 
     12    public WeaponCrate(double leveys, double korkeus) 
    1413        : base(leveys, korkeus) 
    1514    { 
    16         this.WeaponInside = weaponInside; 
    17         this.Color = color; 
    18         this.Image = pic; 
     15        Tag = "crate"; 
    1916    } 
    2017 
     18    /* 
    2119    public Weapon GiveWeapon() 
    2220    { 
    2321        this.Destroy(); 
    24         return WeaponInside; 
    25     } 
     22    }*/ 
    2623} 
Note: See TracChangeset for help on using the changeset viewer.