The Java InSim library v0.2 has been released.
See http://jinsim.sourceforge.net
v0.2 includes:
Rob
The Java InSim library (JInSim)
http://jinsim.sourceforge.net
See http://jinsim.sourceforge.net
v0.2 includes:
- org.kerf.jinsim.RaceEventClient is a class that gathers interesting race events as they happen. Extending this class will allow you to easily reaspond to certain race events easily. Currently it will tell you when a car is losing control and may be crashing (or drifting?), and also reports on the closest current race between two cars.
- org.kerf.jinsim.InSimHelper is a new helper class that is a handy place to look for commonly needed tasks. There are plans for a number of new methods. Right now you can get a taste for what will go in there. A lot of the requests will have an easy to use helper so you don't have to create them and send them. There is a "sendColoredMessage()" helper right now that makes it much easier to send a message in any color you'd like. Eventually there will be a "sendMultiColoredMessage()" helper that will allow you to mix colors within a message easily.
- New example: A working speedometer. This example shows how you might use OutGauge data to drive an external GUI (or real gauges?)
- Some of the code has been improved for performance. Particularly when creating OutSim and OutGauge packets, since the information contained in them is only accurate for a short amount of time.
- More javadoc was added and will continue to be added.
Rob
The Java InSim library (JInSim)
http://jinsim.sourceforge.net