Exemplo n.º 1
0
        public override void Draw(GameTime gameTime)
        {
            if (ShowFps)
            {
                font.Print("FPS:" + SosEngine.Core.SceneManager.FPS.ToString(), 0, 0);
            }
            if (ShowSpecialKeys)
            {
                //font.PrintCenter("F1=BBOX F2=NEXTLEV", 160, 0);
                //font.PrintCenter("F2=NEXTLEV", 160, 0);
            }
            string hud = string.Format("{0}  LIVES {1}  LEVEL {2}",
                                       SosEngine.StringHelper.GetScoreString(Score, 6),
                                       SosEngine.StringHelper.GetScoreString(Lives, 2),
                                       SosEngine.StringHelper.GetScoreString(Room, 2));

            font.PrintCenter(hud, SosEngine.Core.RenderWidth / 2, 2);
        }