Added texture cache and sprite origins.

This commit is contained in:
2026-01-14 23:09:13 -05:00
parent fcb4f1cf05
commit 61d51f5188
36 changed files with 319 additions and 83 deletions

View File

@@ -1,4 +1,5 @@
using Microsoft.Xna.Framework.Content;
using AlienAttack.MonoGame.Textures;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
@@ -8,4 +9,5 @@ public class SpriteDrawArgs(AlienAttackGame game)
{
public SpriteBatch SpriteBatch => game.SpriteBatch;
public ContentManager Content => game.Content;
public TextureCache Textures => game.Textures;
}