Updated asteriods, mines, and explosions.
This commit is contained in:
20
AlientAttack.MonoGame/Things/Asteroids/AsteroidVariantB.cs
Normal file
20
AlientAttack.MonoGame/Things/Asteroids/AsteroidVariantB.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using AlienAttack.MonoGame.Textures;
|
||||
|
||||
namespace AlienAttack.MonoGame.Things.Asteroids;
|
||||
|
||||
public class AsteroidVariantB : Asteroid
|
||||
{
|
||||
public const int Width = 26;
|
||||
public const int Height = 28;
|
||||
|
||||
protected override string TextureName => TextureNames.Asteriods.VariantB;
|
||||
protected override int MaxHealth => 4;
|
||||
|
||||
public AsteroidVariantB(int x, int y) : base(x, y)
|
||||
{
|
||||
Origin = new(Width / 2, Height / 2);
|
||||
BoundBox = new(0, 0, Width, Height);
|
||||
YVelocity = 2;
|
||||
XVelocity = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user