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.DrawFps += new FpsEvent(fpsCounter_DrawFps);
    }
Esempio n. 2
0
        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.IsMouseVisible = true;
 }
        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);

            MessageDeliver md = new MessageDeliver();

            engine.AddComponent(md);
        }
 protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine)
 {
     base.InitScreen(GraphicInfo, engine);
     this.engine = engine;
 }
Esempio n. 7
0
        protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine)
        {
            mstate      = Mouse.GetState();
            this.engine = engine;

            base.InitScreen(GraphicInfo, engine);
        }
Esempio n. 8
0
 protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine)
 {
     base.InitScreen(GraphicInfo, engine);
     engine.AddComponent(new DebugDraw());
     engine.IsMouseVisible = true;
 }
        protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine)
        {
            base.InitScreen(GraphicInfo, engine);

            this.engine = engine;

            InputAdvanced inp = new InputAdvanced();

            engine.AddComponent(inp);

            engine.IsMouseVisible = true;
        }
Esempio n. 10
0
 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);
 }
Esempio n. 11
0
        protected override void InitScreen(PloobsEngine.Engine.GraphicInfo GraphicInfo, PloobsEngine.Engine.EngineStuff engine)
        {
            base.InitScreen(GraphicInfo, engine);

            CPUSphericalBillboardComponent = new CPUSphericalBillboardComponent();
            engine.AddComponent(CPUSphericalBillboardComponent);
        }