Multi-User-Domain / mud-jena

0 stars 0 forks source link

Calculating Transit time #28

Open calummackervoy opened 3 years ago

calummackervoy commented 3 years ago

At the moment the TransitActor just sets the task time as 1 minute

To calculate transit time we'll need to have a look at the current location and the destination, and they will each need to have something like latitude/longitude to calculate the distance

To make things easier we can have a constant speed of travel and a point-to-point "as the crow flies" route

If the current location isn't defined or it's on another world then we can use a constant, like 1 minute to travel between worlds