Class CombinedValueEffector<T>
Inherited Members
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
public class CombinedValueEffector<T> where T : IEquatable<T>
Type Parameters
Name | Description |
---|---|
T |
Methods
| Improve this Doc View SourceApply(T)
Set a effector to the specified value and apply it
Declaration
public void Apply(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value of the effector to be added |
~CombinedValueEffector()
Declaration
protected ~CombinedValueEffector()
Release()
Remove the effector from CombinedValue
Declaration
public void Release()
SetValue(T)
Change the value of the effector added, effector value must be compatible. If the effector is not applied then nothing will happen
Declaration
public bool SetValue(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value to change to |
Returns
Type | Description |
---|---|
bool | true if the effector value has been changed, otherwise false |