1
0
forked from 0ad/0ad

Renamed createMulti to createAreas since there will also be a similar createObjects.

This was SVN commit r2408.
This commit is contained in:
Matei 2005-06-20 03:55:11 +00:00
parent 470d87c489
commit 444e8c31c7
2 changed files with 2 additions and 2 deletions

View File

@ -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)],

View File

@ -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();