public InvadersForm() { InitializeComponent(); SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); _invaders = new InvadersController(this, ClientRectangle.Width, ClientRectangle.Height); }
void Awake() { Instance = this; InvadersList = new List <GameObject>(); }