func NewPathway(destX, destY int, waypointsX, waypointsY []int) *Pathway {
	return &Pathway{StartX: destX, StartY: destY, WaypointsX: waypointsX, WaypointsY: waypointsY, CurrentWaypoint: -1}
}
NewPathway returns a new Pathway with the specified variables.  destX and destY are a straight line, and waypoints define turns from that point.
package world
import (
	"github.com/spkaeros/rscgo/pkg/game/entity"
	"sync"
)
type Pathway struct {
	sync.RWMutex
	StartX, StartY  int
	WaypointsX      []int
	WaypointsY      []int
	CurrentWaypoint int
}
func NewPathwayToCoords(destX, destY int) *Pathway {
	return &Pathway{StartX: destX, StartY: destY}
}
func NewPathwayToLocation(l entity.Location) *Pathway {
	return &Pathway{StartX: l.X(), StartY: l.Y()}
}