code: public void init (Pathable pable, long timestamp)
      {
          // give the pathable a chance to perform any starting antics
          pable.pathBeginning();
  
          // if we have only one node then let the pathable know that we're done straight away
          if (size() < 2) {
              // move the pathable to the location specified by the first
              // node (assuming we have a first node)
              if (size() == 1) {
                  PathNode node = _nodes.get(0);
                  pable.setLocation(node.loc.x, node.loc.y);
              }
              // and let the pathable know that we're done
              pable.pathCompleted(timestamp);
              return;
          }
  
          // and an enumeration of the path nodes
          _niter = _nodes.iterator();
  
          // pretend like we were previously heading to our starting position
          _dest = getNextNode();
  
          // begin traversing the path
          headToNextNode(pable, timestamp, timestamp);
      }
docs: documentation inherited