mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Renamed createMulti to createAreas since there will also be a similar createObjects.
This was SVN commit r2408.
This commit is contained in:
parent
470d87c489
commit
444e8c31c7
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ const SIZE = 64;
|
|||
|
||||
init(SIZE, ["snow", "snow forest"], 0);
|
||||
|
||||
createMulti(
|
||||
createAreas(
|
||||
new ClumpPlacer(20.0, 0.01, 0.01),
|
||||
[new LayeredPainter([1], ["snow grass 2", "snow grass 2|wrld_flora_pine"]),
|
||||
new ElevationPainter(3.0)],
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ function ElevationPainter(elevation) {
|
|||
this.elevation = elevation;
|
||||
}
|
||||
|
||||
function createMulti(centeredPlacer, painter, constraint, num, maxFail) {
|
||||
function createAreas(centeredPlacer, painter, constraint, num, maxFail) {
|
||||
var good = 0;
|
||||
var bad = 0;
|
||||
var ret = new Array();
|
||||
|
|
|
|||
Loading…
Reference in a new issue