diff --git a/ClientApp/Utils/EngineConnection.cs b/ClientApp/Utils/EngineConnection.cs index ea699a3..a82dfb7 100644 --- a/ClientApp/Utils/EngineConnection.cs +++ b/ClientApp/Utils/EngineConnection.cs @@ -42,6 +42,7 @@ namespace ClientApp.Utils private static string headId = string.Empty; private static string groundPlaneId = string.Empty; private static string terrainId = string.Empty; + private static string lastMessage = "No message received yet"; public float BikeSpeed { get; set; } public float BikePower { get; set; } @@ -297,6 +298,11 @@ namespace ClientApp.Utils { // TODO check if is drawn }); + SendMessageAndOnResponse(stream, mainCommand.showMessage(panelId, "message", lastMessage), "message", + (message) => + { + // TODO check if is drawn + }); // Check if every text is drawn!