Пример #1
0
        public GameState()
        {
            Metrics         = new BenchmarkMetrics();
            SpriteBatchList = new SpriteBatchList();
            SoundEffectList = new SoundEffectList();

            GameData = new GameData();
        }
Пример #2
0
 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);
 }