Files
alien-attack/AlientAttack.MonoGame/Things/Bullets/MinigunBulletMedium.cs

18 lines
525 B
C#

using AlienAttack.MonoGame.Textures;
namespace AlienAttack.MonoGame.Things.Bullets;
public class MinigunBulletMedium : Bullet
{
public const int Width = 11;
public const int Height = 21;
protected override string TextureName => TextureNames.Bullets.MinigunMedium;
public MinigunBulletMedium(float x, float y, float xVel, float yVel, Sprite owner) : base(x, y, xVel, yVel, owner)
{
Origin = new(Width / 2, Height / 2);
BoundBox = new(0, 0, Width, Height);
Damage = 2;
}
}