Exemplo n.º 1
0
            public ClickScene()
            {
                Enabled = true;

                InputDispatcher
                .Create(this)
                .SetOnMouseUpFn(OnMouseUp);
            }
Exemplo n.º 2
0
        public Scene()
        {
            InputDispatcher
            .Create(this)
            .SetOnMouseUpFn(OnMouseUp);

            Enabled = true;
            Visible = true;
            Push(new Menu());
            DrawOrder = 124;
        }
Exemplo n.º 3
0
        public Scene()
        {
            Enabled = true;
            Visible = true;

            InputDispatcher
            .Create(this)
            .SetOnMouseUpFn(OnMouseUp)
            .SetOnKeyDownFn(OnKeyDown);

            Push(new Ego(), new Mouse(), new ShadowEgo());
        }
Exemplo n.º 4
0
        public Scene()
        {
            this.AutoAddEntities();

            InputDispatcher
            .Create(this)
            .SetOnKeyDownFn(OnKeyDown);

            Enabled   = true;
            Visible   = true;
            DrawOrder = 1019;
        }
Exemplo n.º 5
0
        public Scene() : base(GlblRes.RoomsLetterScene)
        {
            Background
            .Get <Sprite>()
            .SetRenderStage(RenderStage.PostBloom);

            DrawOrder = 500;

            InputDispatcher
            .Create(this)
            .SetOnMouseUpFn(OnMouseUp);
        }
Exemplo n.º 6
0
        public Scene()
        {
            this.AutoAddEntities();

            InputDispatcher
            .Create(this)
            .SetOnMouseUpFn(OnMouseUp);

            ScenePath
            .Create(this);

            Enabled = false;

            DrawOrder = 125;
        }
Exemplo n.º 7
0
        public Scene()
        {
            Enabled = true;
            Visible = true;

            InputDispatcher
            .Create(this)
            .SetOnMouseUpFn(OnMouseUp)
            .SetOnMouseMoveFn(OnMouseMove)
            .SetOnKeyDownFn(OnKeyDown);

            ScenePath
            .Create(this)
            .SetPath(CreatePath());

            Push(new Mouse());
        }
Exemplo n.º 8
0
        public Scene()
        {
            this.AutoAddEntities();

            Enabled     = true;
            Visible     = true;
            Interactive = true;
            DrawOrder   = 122;

            InputDispatcher
            .Create(this)
            .SetOnMouseUpFn(OnMouseUp)
            .SetOnKeyUpFn(OnKeyUp)
            .SetOnMouseScrollFn(OnMouseScroll);

            Reset();
        }
Exemplo n.º 9
0
 public TestScene()
 {
     InputDispatcher
     .Create(this)
     .SetOnMouseUpFn(OnMouseUp);
 }