protected override void Update(GameTime gameTime) { KeyMouseReader.Update(); if (KeyMouseReader.IsPressed(Keys.D1)) { DEBUG = !DEBUG; } foreach (Rectangle rect in rectangles) { rect.Update(); } sat.Update(rectangles[0], rectangles[1]); base.Update(gameTime); }