20 lines
528 B
C#
20 lines
528 B
C#
using AlienAttack.MonoGame.Textures;
|
|
|
|
namespace AlienAttack.MonoGame.Things.Asteroids;
|
|
|
|
public class AsteroidVariantA : Asteroid
|
|
{
|
|
public const int Width = 39;
|
|
public const int Height = 37;
|
|
|
|
protected override string TextureName => TextureNames.Asteriods.VariantA;
|
|
protected override int MaxHealth => 8;
|
|
|
|
public AsteroidVariantA(int x, int y) : base(x, y)
|
|
{
|
|
Origin = new(Width / 2, Height / 2);
|
|
BoundBox = new(0, 0, Width, Height);
|
|
YVelocity = 1;
|
|
XVelocity = 0;
|
|
}
|
|
} |