worked on synthetic sensors
worked on grid-walker minor changes/fixes/improvements
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user