The Director FSM controls the overall scene. It's a good example of a hierarchical design - rather than trying to shove this functionality into the Demon Manager FSM we take a step up and start with a nice fresh FSM.
This FSM would likely grow in a real project to handle death events, new levels etc.
maxDemons - The max number of active demons allowed in the scene.
maxDemonsInt - Integer version of maxDemons since the Demon Manager FSM needs an integer count.
spawnDelay - The delay between spawning demons.
NOTE: The Director FSM sets the equivalent variables in the Demon Manager FSM.