Here is a snippet I wrote for the AdventureFramework to make the creation of a game that much easier. You may need to resolve references to the following namespace to remove runtime errors.
using AdventureFramework.Structure;
using AdventureFramework.Rendering;
using AdventureFramework.Sound;
using AdventureFramework.Interaction;
using...