private static void PrintRoverInfo(IRover rover, string message) { PrintInNewLine(Line); PrintInNewLine($"Energy: {rover.GetEnergy().GetLoad()}"); PrintInNewLine($"Direction: {rover.GetDirection()}"); PrintInNewLine($"Position (x: {rover.GetPosition().GetX()}, y: {rover.GetPosition().GetY()})"); PrintInSameLine("Messages: "); if (message != null) { PrintInSameLine($"{message} ", ConsoleColor.White, ConsoleColor.Black, false); } Jump(); PrintInNewLine(Line); Jump(); }