public void Draw() { try { splashScreenManager.Draw(this.SpriteBatch); if (GetRoomManager().isInRoom()) { try { GetRoomManager().Draw(this.SpriteBatch); GetFurniManager().Draw(this.SpriteBatch); }catch (Exception ex) { Logger.Error(ex); } } else { hotelOverview.Draw(this.SpriteBatch); } overlayRenderer.Draw(this.SpriteBatch); navigatorManager.Draw(this.SpriteBatch); catalogusManager.Draw(this.SpriteBatch); inventoryManager.Draw(this.SpriteBatch); } catch (Exception ex) { Logger.Error("GameScreenManager Draw Error!!\n", ex); } }
public void Draw() { try { splashScreenManager.Draw(this.SpriteBatch); if (GetRoomManager().isInRoom()) { GetRoomManager().Draw(this.SpriteBatch); } else { hotelOverview.Draw(this.SpriteBatch); } overlayRenderer.Draw(this.SpriteBatch); navigatorManager.Draw(this.SpriteBatch); }catch (Exception ex) { Logger.Error("GameScreenManager Draw Error!!"); } }