If a student witnesses murder, "Fleeing" will be set to true. ![]() If a student is splashed with liquid, "MustChangeClothing" will be set to true. There are many situations where a character can only be in one state at a time (for example, a student cannot be Following and Distracting at the same time) but there are also many situations where a student can be in multiple states at the same time. For example, if a student has been instructed to follow the player, the "Following" boolean is set to true, and the game starts executing all of the code in the "if (Following = true)" block. ![]() There are "states" in a loose sense of the term.Įvery student has a series of booleans that can be true or false.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |