Hi,
I've got a multi dimensional array of strings (terrainArray) that I need to pass to a function (loadMaps)
e.g.;
global terrainArray:String[28,28]
loadMaps("map.file",terrainArray)
for the loadmaps function declaration I'm not sure how to define the variable type
e.g.;
function loadMaps(mapFile:string, mapArray:????)
should it be a string[,]?
I've got a multi dimensional array of strings (terrainArray) that I need to pass to a function (loadMaps)
e.g.;
global terrainArray:String[28,28]
loadMaps("map.file",terrainArray)
for the loadmaps function declaration I'm not sure how to define the variable type
e.g.;
function loadMaps(mapFile:string, mapArray:????)
should it be a string[,]?