-
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 |
DTL.Shape.Border(drawValue).Draw(matrix);
Value Name | Name |
---|---|
Draw Value | Border Value |
DTL.Shape.BorderOdd(drawValue).Draw(matrix);
Value Name | Name |
---|---|
Draw Value | Border Value |
DTL.Shape.HalfMixRect(outputList).Draw(matrix);
Value Name | Name |
---|---|
Output List | draw Lists |
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)