GameState.java getNext method for code reduction