getRandomSpacePosition method
Implementation
SpacePosition getRandomSpacePosition() {
int index = Random().nextInt(positionChoices.length);
return positionChoices[index];
}
SpacePosition getRandomSpacePosition() {
int index = Random().nextInt(positionChoices.length);
return positionChoices[index];
}