public Mover(ContentStore content, string texName, float defaultXPos, float defaultYPos, float inDefaultXSpeed, float inDefaultYSpeed, int spriteWidth, int spriteHeight) : base(content, texName, defaultXPos, defaultYPos, spriteWidth, spriteHeight) { SetSpeed(inDefaultXSpeed, inDefaultYSpeed); Reset(); }
public Bullet(ContentStore content, string texName, string gunSoundName, float defaultXPos, float defaultYPos, float inDefaultXSpeed, float inDefaultYSpeed, int spriteWidth, int spriteHeight) : base(content, texName, defaultXPos, defaultYPos, inDefaultXSpeed, inDefaultYSpeed, spriteWidth, spriteHeight) { mGunFire = content.GetSoundEffect(gunSoundName); //mIsBulletDestroyed = true;//init to destroyed }
public Enemy(ContentStore content, string texName, float defaultXPos, float defaultYPos, float inDefaultXSpeed, float inDefaultYSpeed, int spriteWidth, int spriteHeight) : base(content, texName, defaultXPos, defaultYPos, inDefaultXSpeed, inDefaultYSpeed, spriteWidth, spriteHeight) { mIsDead = false; }