SceneEnd

Added SceneEnd struct to define what should be done when a scene has
ended.