code: function(){
              var startDir = this.currentDirection,
                  currentDir = this.currentDirection;
  
              var i = 0;
              while(i < 6){
                  i++;
                  var currentDirAdjustCoords = this.directionToAdjustCoord(currentDir),
                      targetX = this.x + currentDirAdjustCoords.x,
                      targetY = this.y + currentDirAdjustCoords.y;
  
                  if(this.canMoveTo(targetX, targetY)){
                      this.currentDirection = currentDir;
                      this.moveTo(targetX, targetY);
                      return;
                  }
                  currentDir = this.getNextDirection(currentDir);
                  // give up if all directions attempted
                  if(currentDir === startDir){
                      return false;
                  }
              }
          }
docs: Called every turn by the entityManger (entity turns are triggered after player actions are complete)
  @method update