![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The change controller template class to control changes of an object's value.
The change controller counts a frame at each values's change and can check a frame change regarding to the ChangeInspector.
The default constructor.
Murl.ChangeController.String new()
Constructor taking a default value.
Murl.ChangeController.String new(String value)
value | The default value. |
Set a value and increment the current frame if the value has been changed.
Boolean SetValue(String value)
value | The value to set. |
Get the current value.
String GetValue()
Check if the inspector's frame is different to the controller's frame.
Boolean, Murl.ChangeInspector WasChanged(Murl.ChangeInspector inspector)
inspector | The inspector to check. |
Increment the current frame.
SetChanged()