Select a choice
This commit is contained in:
parent
901b4a004a
commit
8ebec372cf
@ -77,6 +77,11 @@ void Storybook::Play() {
|
|||||||
for (auto c : *current->footer.choices) {
|
for (auto c : *current->footer.choices) {
|
||||||
print_choice(c.second);
|
print_choice(c.second);
|
||||||
}
|
}
|
||||||
|
printf("Make a selection: ");
|
||||||
|
int choice;
|
||||||
|
std::cin >> choice;
|
||||||
|
Find((*current->footer.choices)[choice]->id);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
IsEnded = true; // TODO
|
IsEnded = true; // TODO
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user