private void RenderUI(Renderer Renderer) { //Define the locations where each element of the UI will be rendered Vector2 MessageLogPos = new Vector2(10, 450); Vector2 CommandInputPos = new Vector2(10, 430); Vector2 PacketOutPos = new Vector2(800, 25); Vector2 PacketInPos = new Vector2(550, 25); //Render each element to the window UI CommandInputField.Render(Renderer, CommandInputPos, UITextSize, UITextColor, UIFont); MessageLog.RenderLog(Renderer, MessageLogPos, UITextSize, UITextColor, UIFont); CommunicationLog.RenderOutgoingLog(Renderer, PacketOutPos, UITextSize, UITextColor, UIFont); CommunicationLog.RenderIncomingLog(Renderer, PacketInPos, UITextSize, UITextColor, UIFont); }