protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { base.InitScreen(GraphicInfo, engine); engine.AddComponent(new FPSCounter()); ///IF the component already exist, it wont be added, the safest way is to get if from here FPSCounter fpsCounter = engine.GetComponent<FPSCounter>("FPSCounter"); fpsCounter.CombinedFps += new FpsEvent(fpsCounter_CombinedFps); fpsCounter.DrawFps += new FpsEvent(fpsCounter_DrawFps); }