//--------------------------------------------------------------------------------------------------------------------------------------------------- // // Copyright (C)2007 DarkWynter Studios. All rights reserved. // //--------------------------------------------------------------------------------------------------------------------------------------------------- // {License Information: Creative Commons} //--------------------------------------------------------------------------------------------------------------------------------------------------- namespace ElementalGame { // The Setup screen public class FPS : GameScreen { public FPS() { // Instantiate the GameMenu menu = new GameMenu("", 20, 20); menu.AddLabel("0"); } public void SetFPS(int fps) { menu.GetMenuElement(0).SetTitle(fps.ToString()); } } }