enemy generator genEnemy is public