Create a tab namedsubs_path. Create a function namedmake_path()
void make_path(int mX, int mY) {
declare an integer named i
set i to find_node(mX, mY)
if i is 0 or more {
if cap_ind is -1 {
// don't declare an integer named index_A
// don't declare an integer named index_B
declare a Node named node
set node to the node at index i in ArrayList nodes
set the s field of node to true
set the node at index i in ArrayList nodes to node
set L_ind to i
set index_A to i
} else {
// to be added in [I]
}
}
} //make_path