Opened 16 years ago

Closed 16 years ago

#88 closed feature (fixed)

Implement a manager for available cars

Reported by: Henrik Heimbuerger Owned by: Henrik Heimbuerger
Priority: major Milestone: MS1: First release (1.0.0)
Component: track Version: pre-1.0
Keywords: Cc:

Description

The cars should be defined in a configuration file named cars.xml. A manager (bean) has to be implemented that reads this configuration file at startup.

It contains at least the following values for each car:

  • the car's bitmap
  • the acceleration
  • the mass?
  • the top speed?
  • the inertia?
  • the tilesets it can be used on

Change History (3)

comment:1 Changed 16 years ago by Henrik Heimbuerger

Status: newaccepted

comment:2 Changed 16 years ago by SVN

New commit by hheimbuerger (revision [290]):
[Fix for ticket #88] Implemented a proof-of-concept manager for the cars and modified TrackWidget code to draw the actual cars.

Cars are now defined in /cars/cars.xml. They can be accessed via the carRepositoryBean. The TrackWidget has been modified slightly to draw them on the track.

Additionally, a bug in the DebugTDA has been fixed that raised NullPointerExceptions? when the FeedbackSignal? did not contain a g-force component and the gametick interval has been lowered.

comment:3 Changed 16 years ago by Henrik Heimbuerger

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.