Example #1
0
        public override void Start()
        {
            if (_texture == null)
            {
                var t1 = GraphicsHelper.CreateCircleTexture(Color.Black, 150);
                var t2 = GraphicsHelper.CreateCircleTexture(Color.GhostWhite, 135);
                _texture = GraphicsHelper.Combine(t1, t2);
            }

            var x = (_texture.Width * Scale) / 2;
            var y = Screen.VirtualHeight - (_texture.Height * Scale + (_texture.Height * Scale) / 2);

            _borderLimits = new Rectangle(0, Screen.VirtualHeightPerTwo, Screen.VirtualWidthPerTwo, Screen.Height);

            ShowAt(x, y);
        }