is it possible to create a mixed multidimensional array, say
public var MusicPlaying : boolean[,] = new boolean[10,10];
but where the firs part of the array is a int and the second a boolean?
is it possible to create a mixed multidimensional array, say
public var MusicPlaying : boolean[,] = new boolean[10,10];
but where the firs part of the array is a int and the second a boolean?
You can create an Object array (var foo : Object[,];
), however it’s unlikely that’s what you really want to do. It would be better if you said what this was actually supposed to do. My guess is that you’d be better off with an array of a custom class.