Basic structure to control non-linear story progression in games