internal void Update(GameTime gameTime) { foreach (GameObject o in GameObjects) { if(o.OnUpdate != null) o.OnUpdate(gameTime); } }