-
Notifications
You must be signed in to change notification settings - Fork 10
API reference
Gunji Ryota edited this page Jan 15, 2020
·
11 revisions
πDungeonTemplateLibarary Original Version's Api Reference Link is Here.
DTL.Shape.FractalIsland(minValue, altitude, addAltitude).Draw(matrix)
HeightValue |
---|
minValue ~ (altitude + addAltitude) |
DTL.Shape.PerlinIsland(frequency, octaves, maxHeight, minHeight).Draw(matrix)
HeightValue |
---|
minHeight ~ maxHeight |
DTL.Shape.PerlinSolitaryIsland(truncatedProportion, mountainProportion, frequency, octaves, minHeight, maxHeight).Draw(matrix);
HeightValue |
---|
minHeight ~ maxHeight |
DTL.Shape.DiamondSquareAverageIsland(minValue, altitude, addAltitude).Draw(matrix);
HeightValue |
---|
minValue ~ (altitude + addAltitude) |
DTL.Shape.DiamondSquareAverageCornerIsland(minValue, altitude, addAltitude).Draw(matrix);
HeightValue |
---|
minValue ~ (altitude + addAltitude) |
DTL.Shape.RogueLike(outsideWallId, insideWallId, roomId, entranceId, wayId, maxWay, roomRange, wayRange).Draw(matrix);
Sample Value | Name |
---|---|
0 | Outside Wall |
1 | Inside Wall |
2 | Room |
3 | Entrance |
4 | Way |
DTL.Shape.SimpleRogueLike(roomValue, roadValue, divisionMin, divisionRandMax, roomMinX, roomRandMaxX, roomMinY, roomRandMaxY).Draw(matrix);
Value Name | Name |
---|---|
Default Value | Wall |
Room Value | Empty |
Road Value | Empty |
DTL.Shape.ClusteringMaze(roadValue).Draw(matrix);
DTL.Shape.AscendingOrder(drawValue).Draw(matrix);
Value Name | Name |
---|---|
Draw Value | First Value |
![ApiAscendingOrder1](https://user-images.githubusercontent.com/37650565/71654164-960aca80-2d73-11ea-9e6e-7ac2ddc4a758.png)
DTL.Shape.Border(drawValue).Draw(matrix);
Value Name | Name |
---|---|
Draw Value | Border Value |
![ApiBorder1](https://user-images.githubusercontent.com/37650565/71671252-e99e0800-2db5-11ea-99dc-e2e0274ec061.png)
DTL.Shape.BorderOdd(drawValue).Draw(matrix);
Value Name | Name |
---|---|
Draw Value | Border Value |
![ApiBorderOdd2](https://user-images.githubusercontent.com/37650565/71672090-574b3380-2db8-11ea-91dd-54e5cdeef5fa.png)
DTL.Shape.HalfMixRect(outputList).Draw(matrix);
Value Name | Name |
---|---|
Output List | draw Lists |
![ApiHalfMixRect1](https://user-images.githubusercontent.com/37650565/71712653-7c3bb700-2e49-11ea-8d9b-b49b303d3148.png)
DTL.Shape.RandomRect(noiseValue, probability).Draw(matrix);
Value Name | Name |
---|---|
Defalut Value | Empty |
Noise Value | Noise |
DTL.Shape.RandomVoronoi(voronoiNum, probability, trueColor, falseColor).Draw(matrix);
Value Name | Name |
---|---|
False Color | 1 |
True Color | 0 |
Copyright (c) 2017-2019 Kasugaccho. Copyright (c) 2018-2019 As Project.
Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)