protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { base.InitScreen(GraphicInfo, engine); CPUSphericalBillboardComponent = new CPUSphericalBillboardComponent(); engine.AddComponent(CPUSphericalBillboardComponent); }
protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { base.InitScreen(GraphicInfo, engine); engine.AddComponent(new DebugDraw()); }
protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { base.InitScreen(GraphicInfo, engine); MessageDeliver md = new MessageDeliver(); engine.AddComponent(md); }
protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { engine.IsMouseVisible = true; Primitive2DDraw = new PloobsEngine.Features.DebugDraw.Primitive2DDraw(); engine.AddComponent(Primitive2DDraw); base.InitScreen(GraphicInfo, engine); }
protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { FPSCounter fp = new FPSCounter(); fp.CombinedFps += new FpsEvent(fp_CombinedFps); engine.AddComponent(fp); engine.IsFixedTimeStep = false; base.InitScreen(GraphicInfo, engine); }
protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine) { base.InitScreen(GraphicInfo, engine); ///Adicionando Componente de Mensagens ///Utilizado pelo Trigger ///Triggers uses this component MessageDeliver md = new MessageDeliver(); engine.AddComponent(md); }
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); }