예제 #1
0
 /// <summary>
 /// Constructs a weapon with default values.
 /// </summary>
 public Weapon(UI ui, Texture2D weaponTexture)
 {
     level  = -1;
     active = false;
     texWep = weaponTexture;
 }
예제 #2
0
 public WeaponC(UI ui, Texture2D weaponTexture, Texture2D hairTexture)
     : base(ui, weaponTexture, hairTexture)
 {
     hud = ui;
 }