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

Switch to node stack #1

Closed
Keyslam opened this issue Nov 26, 2017 · 0 comments
Closed

Switch to node stack #1

Keyslam opened this issue Nov 26, 2017 · 0 comments

Comments

@Keyslam
Copy link
Owner

Keyslam commented Nov 26, 2017

Currently the "current node" is stored at a string.
We should switch to a stack (table) to allow for returning links.

Potentially append recent nodes to the end of the stack so we won't have to deal with insert/remove. We will need to use #stack to get the current node index.

pablomayobre added a commit to pablomayobre/Babble that referenced this issue Nov 27, 2017
Dialogue now creates NodeInstances when moving to a Node,
NodeInstances hold position information and handle updates.
The Dialogue holds a stack of NodeInstances, the dialogue can push, pop or switch at any time.

Fixes Keyslam#1, Fixes Keyslam#7
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

1 participant