Files

20 lines
531 B
C#

using AlienAttack.MonoGame.Textures;
namespace AlienAttack.MonoGame.Things.Asteroids;
public class AsteroidVariantC : Asteroid
{
public const int Width = 37;
public const int Height = 36;
protected override string TextureName => TextureNames.Asteriods.VariantC;
protected override int MaxHealth => 5;
public AsteroidVariantC(int x, int y) : base(x, y)
{
Origin = new(Width / 2, Height / 2);
BoundBox = new(0, 0, Width, Height);
YVelocity = 1.5f;
XVelocity = 0;
}
}