Continued implementation of GameplayManager, and its test.