forked from mirrors/0ad
c0c19db94e
This was SVN commit r17302.
20 lines
375 B
JavaScript
20 lines
375 B
JavaScript
function Wonder() {}
|
|
|
|
Wonder.prototype.Schema =
|
|
"<element name='TimeTillVictory'>" +
|
|
"<data type='nonNegativeInteger'/>" +
|
|
"</element>";
|
|
|
|
Wonder.prototype.Init = function()
|
|
{
|
|
};
|
|
|
|
Wonder.prototype.Serialize = null;
|
|
|
|
Wonder.prototype.GetTimeTillVictory = function()
|
|
{
|
|
return +this.template.TimeTillVictory;
|
|
};
|
|
|
|
Engine.RegisterComponentType(IID_Wonder, "Wonder", Wonder);
|