Finished chapter 9

This commit is contained in:
Grant Sanderson
2016-09-10 15:21:03 -07:00
parent 3586231295
commit c2301e282c
7 changed files with 1037 additions and 14 deletions

View File

@ -416,6 +416,12 @@ class TeacherStudentsScene(Scene):
)
def student_says(self, *content, **kwargs):
if "pi_creature_target_mode" not in kwargs:
target_mode = random.choice([
"raise_right_hand",
"raise_left_hand",
])
kwargs["pi_creature_target_mode"] = target_mode
student = self.get_students()[kwargs.get("student_index", 1)]
return self.introduce_bubble(content, "speech", student, **kwargs)