Sfoglia il codice sorgente

Refixed navigation showing

Kenneth van Ewijk 11 anni fa
parent
commit
c9e68a1de5
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. 8 1
      WindDirection.java

+ 8 - 1
WindDirection.java

@@ -20,7 +20,14 @@ public class WindDirection extends Grootheid{
     
     public void displayGraph()
     {
-        GUIboard.writePageToMatrix("", "West        East", "");
+        GUIboard.clearBottom();
+        char[] charray = "   West       East".toCharArray();
+        
+        IO.writeShort(0x40, '\n'); 
+        for(char ch : charray)
+        {
+            IO.writeShort(0x40, ch);
+        }
         
         int x,y;
         int radius = 15;