合并了ImageFactory类与GameTextClass