public virtual void Shoot() { Bullet bullet = new Bullet(BulletTexture, WorldCoords - new Vector2(Height * -DistanceToNose, Height * -DistanceToNose) * Rotation.Vector, WorldSb); bullet.Speed = Rotation.Vector * 3f; bullet.UseCenterAsOrigin = true; bullet.Rotation = Rotation; bullet.Damage = DamagePerShot; FlyingBullets.Add(bullet); }
public override void Shoot() { //TODO: change image to torpedo Bullet bullet = new Bullet(BulletTexture, WorldCoords - new Vector2(Height * -DistanceToNose, Height * -DistanceToNose) * Rotation.Vector, WorldSb); bullet.Speed = Rotation.Vector * 6f; bullet.UseCenterAsOrigin = true; bullet.Rotation = Rotation; bullet.Damage = DamagePerShot; FlyingBullets.Add(bullet); }