Opened 16 years ago

Last modified 16 years ago

#82 closed enhancement

Enhance position information stored about each car — at Version 1

Reported by: Henrik Heimbuerger Owned by: Henrik Heimbuerger
Priority: critical Milestone: MS1: First release (1.0.0)
Component: track Version: pre-1.0
Keywords: position, step counter Cc:

Description (last modified by Henrik Heimbuerger)

Currently, the position of each car is just stored as a simple int, representing the step counter.

For future extensions (lane changing in particular), it needs to have the following elements:

  • the information which lane the car is on
  • the step counter
  • the information whether the car is currently on a lane change path
  • the information whether the car is on the track in the first place (might have left due to speeding or crashing into another car)

Note that the step counter can change when a car changes from one lane to another, as not all lanes have the same step length.

Part of this ticket is also updating the TrackWidget to support drawing these cases.

Change History (1)

comment:1 Changed 16 years ago by Henrik Heimbuerger

Component: unspecifiedtrack
Description: modified (diff)
Status: newaccepted
Note: See TracTickets for help on using tickets.