Slick: what does this line of code do?
I'm not sure how this line works. Is the "MenuState" a type of casting? i would really appreciate if someone could tell me how this code works. Note: "sbg" is an instance of a State Based Game.
The method definition of setLastState is:
Thanks in advance
public void setLastState(GameState lastState)
this.lastState = lastState;
Re: Slick: what does this line of code do?
You don't think you would be better of asking in a forum dedicated for this library instead of a Java forum that has nothing to do with Slick?
Slick Forums • Index page