State.GenMoves prototype