Version method

Just a minor thing really. Would it be possible to put a method in JME which will return the version number or build date each time you post a new jar on the website?


great idea… where would you prefer it? I was thinking either DisplaySystem or AbstractGame. Those seem best until a more global system class comes into being.

Either DisplaySystem / AbstractGame seem fine.


It’s in DisplaySystem. Returns a version String such as “jME version 0.1.0”

Thanks. :slight_smile:

I’m going to have a look/go with the new milkshape loader in the morning.

As mentioned in the other thread, I put a new jar up that has this method in it. Right now it reports 0.1.0, and I’ll make sure to increment each time a jar is put up. I don’t have a versioning scheme up right now, cause I don’t even consider this alpha yet, but you can be assured that each jar will have a higher number than the one before it.