Select a choice
This commit is contained in:
		@@ -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
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user