Added sprite rotation and scale. Refactored bullet classes.

This commit is contained in:
2026-01-15 00:20:09 -05:00
parent 61d51f5188
commit 8e0a68efdf
25 changed files with 60 additions and 226 deletions

View File

@@ -1,6 +1,6 @@
namespace AlienAttack.MonoGame.Things;
public class MoveableSprite(int x, int y) : Sprite(x, y)
public class MoveableSprite(float x, float y) : Sprite(x, y)
{
public float XVelocity { get; protected set; } = 0;
public float YVelocity { get; protected set; } = 0;