mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-29 01:06:55 +00:00
c0c19db94e
This was SVN commit r17302.
19 lines
604 B
JavaScript
19 lines
604 B
JavaScript
function ValueModificationManager() {}
|
|
|
|
/*
|
|
* A component to give the C++ defined components access to all value modifying components
|
|
* via the helper script.
|
|
*/
|
|
ValueModificationManager.prototype.Schema =
|
|
"<a:component type='system'/><empty/>";
|
|
|
|
ValueModificationManager.prototype.Serialize = null;
|
|
|
|
ValueModificationManager.prototype.ApplyModifications = function(valueName, currentValue, entity)
|
|
{
|
|
return ApplyValueModificationsToEntity(valueName, currentValue, entity);
|
|
};
|
|
|
|
Engine.RegisterSystemComponentType(IID_ValueModificationManager, "ValueModificationManager", ValueModificationManager);
|
|
|