Exemplo n.º 1
0
 public virtual void clone(weapon _weapon)
 {
     w_bullet.clone(_weapon.w_bullet);
     //Copy all values which are unique to this class
     this._firerate = _weapon._firerate;
     this.playernumber = _weapon.playernumber;
 }
Exemplo n.º 2
0
 public tower()
     : base()
 {
     t_weapon = new weapon();
 }
Exemplo n.º 3
0
 public player()
     : base()
 {
     //create the pickups for the player
     pweapon = new w_machinegun();
     ptower = new t_machinegun();
     //room for more different custom pickups for a later time
 }
Exemplo n.º 4
0
 public override void clone(weapon weapon)
 {
     base.clone(weapon);
     //clone any values written for this weapon
 }