/// <summary> /// Update logic of enabled states. /// </summary> /// <param name="gameTime"></param> public override void Update(GameTime gameTime) { if (Enabled) { _states.Update(gameTime); } }
/// <summary> /// Update all members /// </summary> /// <param name="gameTime"></param> public override void Update(GameTime gameTime) { base.Update(gameTime); _entitiesList.Update(gameTime); }