private void OnRenderedHud(object sender, RenderedHudEventArgs e) { if (!IsPlayerOnTrawler()) { return; } TrawlerUI.DrawUI(e.SpriteBatch, fishingTripTimer.Value, _trawlerSurface.Value.fishCaughtQuantity, _trawlerHull.Value.GetWaterLevel(), _trawlerHull.Value.HasLeak(), _trawlerSurface.Value.GetRippedNetsCount(), _trawlerCabin.Value.GetLeakingPipesCount()); }
private void OnRenderingHud(object sender, RenderingHudEventArgs e) { if (!IsPlayerOnTrawler()) { return; } if (!String.IsNullOrEmpty(_activeNotification)) { TrawlerUI.DrawNotification(e.SpriteBatch, Game1.player.currentLocation, _activeNotification, _notificationAlpha); } }