get all objects in a group (BGE)

hi

i see there is a getPattern() function in bpy. is there something similar for BGE? Maybe a way to instead select all objects in a group using a list?

thanks…