public GameState() { Metrics = new BenchmarkMetrics(); SpriteBatchList = new SpriteBatchList(); SoundEffectList = new SoundEffectList(); GameData = new GameData(); }
public void AddToSpriteBatchList(Texture2D texture, Vector2 position, RectangleF frame, Color color, float rotation, Vector2 origin, Vector2 scale, Rectangle volume) { SpriteBatchList.Add(texture, position, frame, color, rotation, origin, scale, volume); }