namespace AlienAttack.MonoGame.Things;

public class MoveableSprite(float x, float y) : Sprite(x, y)
{
    public float XVelocity { get; protected set; } = 0;
    public float YVelocity { get; protected set; } = 0;

    public override void Update(SpriteUpdateContext context)
    {
        XPosition += XVelocity;
        YPosition += YVelocity;

        base.Update(context);
    }
}