1
0
forked from mirrors/0ad
Files
0ad/binaries/data/mods/public/simulation/components/Wonder.js
T
elexis f4b818bec4 Wonder mode cleanup.
Remove unused, seemingly unusable wonder duration multiplier, refs
#3234.
Replace wonderDuration of the EndGameManager with gameTypeSettings,
since the component should be agnostic about victory condition logic.
Remove an unused cmpEndGameManager.
Inline a variable, few newlines, let intsead of var.

This was SVN commit r18398.
2016-06-17 14:24:30 +00:00

12 lines
226 B
JavaScript

function Wonder() {}
Wonder.prototype.Schema = "<a:component type='system'/><empty/>";
Wonder.prototype.Init = function()
{
};
Wonder.prototype.Serialize = null;
Engine.RegisterComponentType(IID_Wonder, "Wonder", Wonder);