what is getId() method in appstate that I must implement it?
what value have to return?
This question was just asked on discord and I said:
Whatever you want. But you should really be extending a base class for your app states. Either AbstractAppState or BaseAppState (the latter is preferred in general because it does more helpful things).
Itās for looking up your app state by ID if you want to later.
Itās also described in the javadoc:
https://javadoc.jmonkeyengine.org/v3.3.0-stable/com/jme3/app/state/AppState.html#getId--
(Note: the forum is still pointing to really old javadoc in its javadoc link.)
It points to a page where you choose the version. What address would you like me to point it to?
Its good as is.
This link:
Points to 3.x
Is that the old theme?
Mmm⦠could be. I never switched to anything new. So maybe itās just me then.
Just checked. That is *Definitely" the old theme. Apparently, it has some sort of hard-coded header that points to the 3.x javadoc.
Since the new theme has become the standard, I guess paul kept the old theme.
Probably because he once said that he likes having links more than collapsible menus
Iāve fixed the āoldā theme link. You might have to CTRL+R or F5 or something for it to take effect.
Works. Thanks for supporting my curmudgeonly demeanor.
Stupid follow up question - what is an example of use cases for this? iāve just updated to 3.3.0 and just di a a āreturn āclassnameāā sort of thing - but i dont know how it could be used
ā¦
Thanks you