An Implementation of Real-Time 3 D Interactive Drama