worked on synthetic sensors

worked on grid-walker
minor changes/fixes/improvements
This commit is contained in:
k-a-z-u
2017-10-18 16:54:57 +02:00
parent 72f083d32a
commit 3e31f6da53
8 changed files with 522 additions and 71 deletions

View File

@@ -45,7 +45,7 @@ public:
}
/** increment the walk */
void tick(const Timestamp timePassed) {
Point3 tick(const Timestamp timePassed) {
// update time
this->walkedTime += timePassed;
@@ -61,6 +61,8 @@ public:
// inform listener
for (Listener* l : listeners) {l->onWalk(walkedTime, walkedDistance, curPosOnPath);}
return curPosOnPath;
}