Added texture cache and sprite origins.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user