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 | |
Résultat | 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;
}