How would one go about creating an array of a float inside of a array of a class? For example, say I have a class called Module[1...50], how could I create two types of variables like ModuleX[1...50] and ModuleY[1...50] ?
Basically I need to store the X and Y values of the center point of a class Module[1...50] so that another class, Enemy, can check for collision detection with any given Module.
Perhaps a total noob question, I'm sorry. Still new to processing. I would show the code, but there are so many other things going on that it wouldn't be much good. Just looking for a small code example of how to do this. Thanks guys!
1