Esempio n. 1
0
        public void Draw(SpriteBatch spriteBatch)
        {
            _frameCount++;
            spriteBatch.Begin();
            var font = ContentContainer.GetFont(FontsEnum.Arial12);

            spriteBatch.DrawString(font, "FPS: " + _fps, new Vector2(0, 0), Color.Yellow);
            spriteBatch.End();
        }