/** * @param int $seconds */ protected function moveToTime($seconds) { $this->TrackdataLoop->moveToTime($seconds); if (!is_null($this->RouteLoop)) { $this->RouteLoop->goToIndex($this->TrackdataLoop->index()); } }
/** * @param float $kilometer */ protected function move($kilometer) { $this->TrackdataLoop->moveToDistance($kilometer); if (!is_null($this->RouteLoop)) { $this->RouteLoop->goToIndex($this->TrackdataLoop->index()); } }