Commits

Anonymous committed 24ff73d

camelCase.

Comments (0)

Files changed (1)

src/yoob/cursor.js

     this.dx = dx;
     this.dy = dy;
 
-    this.is_headed = function(dx, dy) {
+    this.isHeaded = function(dx, dy) {
         return this.dx === dx && this.dy === dy;
     };
 
         this.y += this.dy;
     };
 
-    this.rotate_clockwise = function() {
+    this.rotateClockwise = function() {
         if (this.dx === 0 && this.dy === -1) {
             this.dx = 1; this.dy = -1;
         } else if (this.dx === 1 && this.dy === -1) {
         }
     };
 
-    this.rotate_counterclockwise = function() {
+    this.rotateCounterclockwise = function() {
         if (this.dx === 0 && this.dy === -1) {
             this.dx = -1; this.dy = -1;
         } else if (this.dx === -1 && this.dy === -1) {