Added texture cache and sprite origins.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using AlienAttack.MonoGame.Audio;
|
||||
using AlienAttack.MonoGame.Textures;
|
||||
using AlienAttack.MonoGame.View;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Content;
|
||||
@@ -13,6 +14,7 @@ internal abstract class GameLoopBase(AlienAttackGame game) : IGameLoop
|
||||
protected readonly SpriteBatch SpriteBatch = game.SpriteBatch;
|
||||
protected readonly ViewTransform ViewTransform = game.ViewTransform;
|
||||
protected readonly AudioManager Audio = game.Audio;
|
||||
protected readonly TextureCache Textures = game.Textures;
|
||||
|
||||
public void Draw(GameTime gameTime)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user