I have now my pretty mxj instantiated the core of my engine.
It works fine.
I'm using it to keep reference to objects (basically Max abstraction) I'm placing in the patcher.
I'd like to store values for those objects in my JAVA.
So, I prototyped an ugly data model like that:
- MaxBox array containing my ... MaxBox objects
- float array for x coordinates
- float array for y
the index in the arrayS is a reference to a particular object.
ugly of course, but it has worked fine for me to prototype fast.
now moving to HashMap(s)
I'd like to be able to store my MaxBox objects on one side in an HashMap and, inside another HashMap, the JAVA representation of those objects using a bunch of values like 3 coordinates, 3 angle for orientations, color etc all in the same object sitting in that second HashMap.
Should I use absolutely package imported in my Core ?
How can I make ... a package ??
I'm a bit confused by the mxj stuff etc. I mean, I'm using a lot of classes in C, less in JAVA, and here in max ... no classes except the core one :)