jtcy
asked on
Parsing array
I want to parse two arrays to a constructor of a class. why aint it working?
int bPos[] = new int[2];
int pPos[] = new int[2];
GameTreeNode root = new GameTreeNode(pPos[0], pPos[0]);
with:
public GameTreeNode (int[] playerPos, int[] ballPos)
{
}
int bPos[] = new int[2];
int pPos[] = new int[2];
GameTreeNode root = new GameTreeNode(pPos[0], pPos[0]);
with:
public GameTreeNode (int[] playerPos, int[] ballPos)
{
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(probably)
ASKER
thanks
8-)