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

18 lines
515 B
C#

using AlienAttack.MonoGame.Textures;
namespace AlienAttack.MonoGame.Things.Bullets;
public class LaserBulletSmall : Bullet
{
public const int Width = 6;
public const int Height = 18;
protected override string TextureName => TextureNames.Bullets.LaserSmall;
public LaserBulletSmall(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 = 1;
}
}