1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/components/WallSet.js
Ykkrosh f2515bec84 Fix some whitespace in scripts
This was SVN commit r11803.
2012-05-09 12:14:22 +00:00

41 lines
1.5 KiB
JavaScript

function WallSet() {}
WallSet.prototype.Schema =
"<a:help></a:help>" +
"<a:example>" +
"</a:example>" +
"<element name='Templates'>" +
"<interleave>" +
"<element name='Tower' a:help='Template name of the tower piece'>" +
"<text/>" +
"</element>" +
"<element name='Gate' a:help='Template name of the gate piece'>" +
"<text/>" +
"</element>" +
"<element name='WallLong' a:help='Template name of the long wall segment'>" +
"<text/>" +
"</element>" +
"<element name='WallMedium' a:help='Template name of the medium-size wall segment'>" +
"<text/>" +
"</element>" +
"<element name='WallShort' a:help='Template name of the short wall segment'>" +
"<text/>" +
"</element>" +
"</interleave>" +
"</element>" +
"<element name='MinTowerOverlap' a:help='Maximum fraction that wall segments are allowed to overlap towers, where 0 signifies no overlap and 1 full overlap'>" +
"<data type='decimal'><param name='minInclusive'>0.0</param><param name='maxInclusive'>1.0</param></data>" +
"</element>" +
"<element name='MaxTowerOverlap' a:help='Minimum fraction that wall segments are required to overlap towers, where 0 signifies no overlap and 1 full overlap'>" +
"<data type='decimal'><param name='minInclusive'>0.0</param><param name='maxInclusive'>1.0</param></data>" +
"</element>";
WallSet.prototype.Init = function()
{
};
WallSet.prototype.Serialize = null;
Engine.RegisterComponentType(IID_WallSet, "WallSet", WallSet);