Parcourir la source

Fix direction vectors

ApisNecros il y a 1 an
Parent
commit
3b4fa90f34
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      starfish.js

+ 4 - 4
starfish.js

@@ -8,10 +8,10 @@ class CodeBox {
          * @type {Object}
          */
         this.directions = {
-            NORTH: [-1,  0],
-            EAST:  [ 0,  1],
-            SOUTH: [ 1,  0],
-            WEST:  [ 0, -1],
+            NORTH:  [ 0, -1],
+            EAST:   [ 1,  0],
+            SOUTH:  [ 0,  1],
+            WEST:   [-1,  0],
         };
         /**
          * The current vector of the pointer