Original Post
im having trouble accessing a variable in another class, you would think the following code would work but it doesnt.
getTrack is in a class, and getTrack just returns a private integer.
all i want to do is set the private variable in getTrack to 0
myTracks[x].getTrack()=0;