Esempio n. 1
0
        public Laser(int x, int y, LaserCollection laserCollection)
        {
            _ellipse = new Ellipse {
                Fill = new SolidColorBrush(Colors.Black)
            };
            _stepSize        = 15;
            _laserCollection = laserCollection;

            X      = x;
            Y      = y;
            Width  = 5;
            Height = 10;

            laserCollection.Add(this);
        }