Esempio n. 1
0
        public Game(Invaders form)
        {
            this.form = form;
            Size size = new Size(form.ClientSize.Width - 100, form.ClientSize.Height);

            boundaries = new Rectangle(new Point(50, 0), size);
            startPoint = new Point(boundaries.X + 10, boundaries.Y + 40);
            stars      = new Stars(form, random);
        }