예제 #1
0
        public override void Start()
        {
            if (_texture == null)
            {
                var t1 = TextureFactory.CreateCircle(Color.Black, 150);
                var t2 = TextureFactory.CreateCircle(Color.GhostWhite, 135);
                _texture = TextureFactory.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);
        }