Uses of Class game.Node

Uses in package game

Methods with parameter type game.Node

void
Node.addLink(Node n, int t)
Initializes the Links of the Node object
void
This method changes the position of the Fugitive without adding it to the prevPositions array.
void
Detective.change(Node n, int ticket)
This method is a "quick and dirty" way of changing the position of a detective.
int
This method changes the position of the fugitive
void
Detective.changePosition(Node n, int ticket)
This method changes the position of the detective provided he has the requisite tickets and the availability of that particular node
void
Initializes the to node of this link

Methods with return type game.Node

Node
This method gives the position of this player
Node
Returns the to node of this link