2013-10-15 12:05:08 +02:00
|
|
|
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.ApplyModifications = function(valueName, currentValue, entity)
|
|
|
|
{
|
|
|
|
return ApplyValueModificationsToEntity(valueName, currentValue, entity);
|
|
|
|
};
|
|
|
|
|
2014-05-18 15:44:08 +02:00
|
|
|
Engine.RegisterSystemComponentType(IID_ValueModificationManager, "ValueModificationManager", ValueModificationManager);
|
2013-10-15 12:05:08 +02:00
|
|
|
|