private void UpdateAI(GameTime gameTime) { _aiUpdateAccumulator += gameTime.ElapsedGameTime.TotalMilliseconds; if (_aiUpdateAccumulator >= AIUpdateIntervalMilliseconds) { _aiService.Update(); _aiUpdateAccumulator = 0; } }