Added new enemy ships. Cleaned up enemy code.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user