Hey Guys, because I really hate the Syntax of the C# language I changed my scripts to Boo. Everything got converted, except the multidimensional arrays. I searched google, and the boo documentation, but I haven’t found a way to set the values of an array when defining!
In C# it looks like that:
public static int[, ,] textures = new int[,,] {
// top north east south west bottom
{ {0,0}, {0,0}, {0,0}, {0,0}, {0,0}, {0,0} }, // stone id=1
{ {1,0}, {1,0}, {1,0}, {1,0}, {1,0}, {1,0} }, // dirt id=2
{ {3,0}, {2,0}, {2,0}, {2,0}, {2,0}, {1,0} }, // grass id=3
{ {4,0}, {4,0}, {4,0}, {4,0}, {4,0}, {4,0} } // glass id=4
};
Do you know how I could achieve that?
And please excuse my grammar mistakes, I’m still learning