ScrollingShooter.PlayerShip.PlayerShip C# (CSharp) Method

PlayerShip() public method

Creates a new Player ship instance and initializes sound effects
public PlayerShip ( uint id, Microsoft.Xna.Framework.Content.ContentManager content ) : System
id uint the unique id of the Player ship
content Microsoft.Xna.Framework.Content.ContentManager
return System
        public PlayerShip(uint id, ContentManager content)
            : base(id)
        {
            bulletFired = content.Load<SoundEffect>("SFX/anti_tank_gun_single_shot");
            shotgunFired = content.Load<SoundEffect>("SFX/Shotgun");
            rocketFired = content.Load<SoundEffect>("SFX/Rocket");
            laserFired = content.Load<SoundEffect>("SFX/Laser");
            Health = MaxHealth;
            Score = 0;
        }