Added sprite rotation and scale. Refactored bullet classes.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using AlienAttack.MonoGame.Textures;
|
||||
using Microsoft.Xna.Framework.Content;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System;
|
||||
|
||||
namespace AlienAttack.MonoGame.Things;
|
||||
|
||||
@@ -10,4 +9,5 @@ public class SpriteDrawArgs(AlienAttackGame game)
|
||||
public SpriteBatch SpriteBatch => game.SpriteBatch;
|
||||
public ContentManager Content => game.Content;
|
||||
public TextureCache Textures => game.Textures;
|
||||
public bool ShowCollisionBox { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user