I'm going to make a platform jumping game with C# and XNA. I was going to do the levels with arrays, but noticed I can't find any way to refer to the cordinates of members.
Like, if I had a array 0 0
1 1
and I need to say
foreach(0 in array)
{
location=new vector2(x,y);
}
how can I get x and y?