MountainDew7
Apr 14th, 2009, 04:19 PM
I was wondering if it was possible to put a custom class in an array. So that way you could do like:
//something.java
class something {
boolean visible;
int x,y;
}
//blah.java
//...
something[4].x = 40;
something[4].y = 30;
something[4].visible = true;
//...
//something.java
class something {
boolean visible;
int x,y;
}
//blah.java
//...
something[4].x = 40;
something[4].y = 30;
something[4].visible = true;
//...