Added new enemy ships. Cleaned up enemy code.

This commit is contained in:
2026-01-05 09:16:58 -05:00
parent 7f47e2617c
commit 804c03b1d8
9 changed files with 333 additions and 169 deletions

View File

@@ -14,12 +14,15 @@ public abstract class Item : MoveableSprite
protected string TextureName;
public const int Width = 48;
public const int Height = 29;
protected abstract PickupKind Kind { get; }
public Item(int x, int y) : base(x, y)
{
YVelocity = .5f;
BoundBox = new Rectangle(0, 0, 48, 29);
BoundBox = new Rectangle(0, 0, Width, Height);
_anchor = new Vector2(x, y);
}