Say "addAllPossibleMoves" instead of "getAllPossibleMoves".