protected override void InitializeBullets() { ConstructorInfo[] constructors = BulletType.GetConstructors(); for (int i = 0; i < Capacity; i++) { BaseBullet bullet = constructors[0].Invoke(new object[] { r_Shooter.GameScreen }) as BaseBullet; this.AddBullet(bullet); if (r_Shooter is Player) { bullet.TintColor = Color.Red; } else if (r_Shooter is Enemy) { bullet.TintColor = Color.Blue; } if (BulletsVelocity == Vector2.Zero) { BulletsVelocity = bullet.Velocity; } } }