changed GameMaster* to void*