path-info.js
// Remove the last step on this path and return the WorldPosition
Remove the last step on this path and return the WorldPosition
Remove the last step on this path and return the WorldPosition
pop() {
		--this.length;
		if (this.swamps[this.swamps.length - 1] === this.length) {
			this.swamps.pop();
		}
		if (this.roads[this.roads.length - 1] === this.length) {
			this.roads.pop();
		}
		return this.path.pop();
	}
pop ( ) { -- this . length ; if ( this . swamps [ this . swamps . length - 1 ] === this . length ) { this . swamps . pop ( ) ; } if ( this . roads [ this . roads . length - 1 ] === this . length ) { this . roads . pop ( ) ; } return this . path . pop ( ) ; }
Remove the last step on this path and return the WorldPosition
Remove the last step on this path and return the WorldPosition