Beispiel #1
0
        public Mouse()
        {
            Transform
            .Create(this);

            Sprite
            .Create(this)
            .SetImage(content.ui.cursor)
            .SetRenderStage(RenderStage.PostBloom);

            SpriteData
            .Create(this)
            .SetOffset(-20, -20);

            MouseFollower
            .Create(this);

            InteractiveVisibility
            .Create(this);
        }
Beispiel #2
0
        public Mouse()
        {
            Transform
            .Create(this);

            Sprite
            .Create(this)
            .SetImage("rufzeichen", 2)
            .SetFrame(1)
            .SetRenderStage(RenderStage.PostBloom);

            SpriteData
            .Create(this)
            .SetOffset(-20, -20);

            MouseFollower
            .Create(this);

            InteractiveVisibility
            .Create(this);
        }