2015-09-19 05:50:48 -07:00
|
|
|
function ValueModificationManager() {}
|
2013-10-15 03:05:08 -07:00
|
|
|
|
|
|
|
|
/*
|
2016-11-23 05:02:58 -08:00
|
|
|
* A component to give the C++ defined components access to all value modifying components
|
2013-10-15 03:05:08 -07:00
|
|
|
* via the helper script.
|
|
|
|
|
*/
|
|
|
|
|
ValueModificationManager.prototype.Schema =
|
|
|
|
|
"<a:component type='system'/><empty/>";
|
|
|
|
|
|
2015-11-28 00:27:41 -08:00
|
|
|
ValueModificationManager.prototype.Serialize = null;
|
|
|
|
|
|
2013-10-15 03:05:08 -07:00
|
|
|
ValueModificationManager.prototype.ApplyModifications = function(valueName, currentValue, entity)
|
|
|
|
|
{
|
|
|
|
|
return ApplyValueModificationsToEntity(valueName, currentValue, entity);
|
|
|
|
|
};
|
|
|
|
|
|
2014-05-18 06:44:08 -07:00
|
|
|
Engine.RegisterSystemComponentType(IID_ValueModificationManager, "ValueModificationManager", ValueModificationManager);
|
2013-10-15 03:05:08 -07:00
|
|
|
|