So is a multidimensional array the best way to send info to C++?
in Actionscript 3 I send this:
Code:
//order: x , y , height, width, rotation, isDynamic, shape, friction,density,restitution,ID
var map:Array = [
[133,168,50,50,0.2801400450818924,false,'SQUARE' , 0.5,0.5,0.5,'iq']
,[224.2568878505796,124.18699926414965,50,50.000000000000014,0.5481100464052429,false,'SQUARE' , 0.5,0.5,0.5,'iq']
,[142.16923058555182,106.67653026016984,49.99999999999999,49.99999999999999,-0.1681296345455191,true,'SQUARE' , 0.5,0.5,0.5,'iq']
,[218,197,50,50,0,false,'CIRCLE' , 0.5,0.5,0.5,'iq']
,[243.5,83,98,101,0,true,'CIRCLE' , 0.5,0.5,0.5,'iq']
];
And this is all different types of info. I know you can't really do that in C++ right?