incorporate context into enemygenerator