public override void Update(GameTime gameTime) { base.Update(gameTime); #region Gestion Camera if (ScriptManager.CamCharacter != Guid.Empty) { Camera2D.Pos = _Service.GetCameraCoords(_Service.GetCharacterSprite(ScriptManager.CamCharacter).Location); } else if (ScriptManager.CamAnimation != Guid.Empty) { Camera2D.Pos = _Service.GetCameraCoords(_Service.GetAnimatedSprite(ScriptManager.CamAnimation, Enums.StageObjectType.Animations).Location); } else if (!ScriptManager.LocationsInUse) { Camera2D.Pos = _Service.GetCameraCoords(PlayableCharactersManager.CurrentPlayerCharacter.CharacterSprite.Location); } #endregion }