0ad/binaries/data/mods/public/maps/random/rmgen/point.js
historic_bruno 0e0ed94926 Implements random map system, fixes #6.
Includes default library "rmgen" w/ API based on rmgen tool.
Modifies rmgen scripts Cantabrian Highlands, Neareastern Badlands, and
Latium.
Old map support dropped from MapReader.
Fixes a few bugs in existing game setup and initialization scripts.

This was SVN commit r9096.
2011-03-22 01:34:45 +00:00

6 lines
99 B
JavaScript

function Point(x, y)
{
this.x = (x !== undefined ? x : 0);
this.y = (y !== undefined ? y : 0);
}