ac danmaku support

refactor danmaku factory
add pause/resume support