Example #1
0
 public Weapon(Player owner, Texture2D skin, Projectile firedprojectile, int damage = 5, int firerate = 0750, int clipsize = 4, int reservesize = 32, int projectilecount = 8, float projectilespeed = 1.5f)
 {
     this.Attributes = new List<Attribute>(16);
     this.Owner = owner;
     this.Skin = skin;
     this.FiredProjectile = firedprojectile;
     this.Damage = damage;
     this.FireRate = firerate;
     this.ClipSize = clipsize;
     this.ReserveSize = reservesize;
     this.ProjectileCount = projectilecount;
     this.FiredProjectileSpeed = projectilespeed;
     this.LastFired = DateTime.Now;
 }
Example #2
0
 public abstract void OnCollide(Projectile P, ProjectileCollisionArgs e);