import { Component } from "ecsy"
import { Path } from "../Datatypes/MathTypes/path"

export class PathWalker extends Component {
  path: Path
  progress: number = 0
  speed: number = 10 //speed in pixels per second

  reset() {
    this.path = null
    this.progress = 0
    this.speed = 0
  }
}
