1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/maps/random/rmgen/area.js
historic_bruno b4503bb61e Simplifies random map output, see #782.
Changes random maps to XZ coordinates, matching the engine.
More documentation for rmgen library.

This was SVN commit r9271.
2011-04-16 04:04:06 +00:00

20 lines
405 B
JavaScript

///////////////////////////////////////////////////////////////////////////
// Area
//
// Object representing a group of points/tiles
//
// points: Array of Point objects
//
///////////////////////////////////////////////////////////////////////////
function Area(points, id)
{
this.points = (points !== undefined ? points : []);
this.id = id;
}
Area.prototype.getID = function()
{
return this.id;
}