Opened 17 years ago
Closed 17 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 17 years ago by
| Status: | new → accepted | 
|---|
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | accepted → closed | 
Note: See
        TracTickets for help on using
        tickets.
    

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.