public override void Render(double delta) { RenderMenuBounds(); gfx.Texturing = true; RenderWidgets(widgets, delta); input.Render(delta); if (desc != null) { desc.Render(delta); } gfx.Texturing = false; int cX = game.Width / 2, cY = game.Height / 2; gfx.Draw2DQuad(cX - 250, cY + 90, 500, 2, grey); if (textPath == null) { return; } SaveMap(textPath); textPath = null; }
public override void Render(double delta) { if (!game.PureClassic) { status.Render(delta); } bottomRight.Render(delta); CheckOtherStatuses(); UpdateChatYOffset(false); RenderClientStatus(); DateTime now = DateTime.UtcNow; if (HandlesAllInput) { normalChat.Render(delta); } else { RenderRecentChat(now, delta); } announcement.Render(delta); if (HandlesAllInput) { input.Render(delta); if (altText.Active) { altText.Render(delta); } } if (announcement.IsValid && (now - game.Chat.Announcement.Received).TotalSeconds > 5) { announcement.Dispose(); } }