Towards a Unified Theory for Interactive Digital Storytelling