Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to be notified after Gamestate.pop() #34

Closed
denisdefreyne opened this issue Jun 9, 2014 · 1 comment
Closed

No way to be notified after Gamestate.pop() #34

denisdefreyne opened this issue Jun 9, 2014 · 1 comment

Comments

@denisdefreyne
Copy link

It would be useful to have an activate() callback function that is called after Gamestate.pop(). Otherwise, there is no way to figure out when a state gets activated (the enter() callback function is not called on the new state after Gamestate.pop()).

The use case is to use Löve Frames’ state system: the state needs to be changed when a new state is activated.

@vrld vrld closed this as completed in bd10ec4 Aug 22, 2014
@vrld
Copy link
Owner

vrld commented Aug 22, 2014

...better late than never: state:resume(pre, ...) does what you need!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants