You're using boolean flags here to set the state of the world, why not a state variable that contains strings?