Ejemplo n.º 1
0
        public InvadersForm()
        {
            InitializeComponent();
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);

            _invaders = new InvadersController(this, ClientRectangle.Width, ClientRectangle.Height);
        }
Ejemplo n.º 2
0
 void Awake()
 {
     Instance     = this;
     InvadersList = new List <GameObject>();
 }