public ImagePyramidType() { _tileSize = 256; _maxWidth = 0; _maxHeight = 0; _gridOrigin = GridOrigin.LowerLeft; }
public string GetDebugInformation() { String returnString = "Pl: " + place + " Name : " + name + " Key: " + key + "\n" + "" + "\nMusic : " + musicCueName + "\nDimensions : " + dimensions.ToString() + "\nTile Size : " + tileSize.ToString() + "\nOrigin : " + GridOrigin.ToString() + "\nIs Cleared: " + isCleared.ToString(); returnString += "\n\nPuzzle Layer: "; returnString += "\n--------------------\n"; for (int y = 0; y < Dimensions.Y; y++) { for (int x = 0; x < Dimensions.X; x++) { returnString += PuzzleLayer[y * dimensions.X + x] + " "; } returnString += "\n"; } returnString += "\nShape Layer: "; returnString += "\n--------------------\n"; for (int y = 0; y < Dimensions.Y; y++) { for (int x = 0; x < Dimensions.X; x++) { returnString += ShapeLayer[y * dimensions.X + x] + " "; } returnString += "\n"; } returnString += "\nTile Layer: "; returnString += "\n--------------------\n"; for (int y = 0; y < Dimensions.Y; y++) { for (int x = 0; x < Dimensions.X; x++) { returnString += TileLayer[y * dimensions.X + x] + " "; } returnString += "\n"; } return(returnString); }