| 1 | == surface(area) == |
| 2 | This is the constructor. It recieves the area the terrain references. |
| 3 | == setTerrain(terrain) == |
| 4 | This method defines the main terrain to apply or change within the area. |
| 5 | == addTerrainLayer(terrain, percent) == |
| 6 | This method adds a new terrain layer which borders the area. For example, going from shallow to deep water. |
| 7 | == replaceTerrain(old, new) == |
| 8 | This method is used when you want a certain terrain type to be replaced with another in the case of overlapping areas. |
| 9 | == setForestType(type, percent) == |
| 10 | This method is used to set a forest type and a percentage of how much of the land it takes up. |
| 11 | == setElevation(min, max) == |
| 12 | This method defines the variable height of the area. |
| 13 | == setDepth(min, max) == |
| 14 | This method defines the variable depth of the water area. |
| 15 | == modifyElevation(int, blendRadius) == |
| 16 | This method raises/lowers the elevation of each tile by the specified int. |
| 17 | == modifyDepth(int, blendRadius) == |
| 18 | This method raises/lowers the depth of each tile by the specified int. |
| 19 | == clearDepth() == |
| 20 | This method clears depth of area. |
| 21 | == clearElevation() == |
| 22 | This method clears elevation of area. |