StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
Interface for declaring a class capable of triggering an ITriggerable class. More...
Public Member Functions | |
void | AddTriggerable (ITriggerable target) |
Register a Triggerable client with this provider. | |
void | RemoveTriggerable (ITriggerable target) |
Remove a previously registered Triggerable client from this provider. | |
Properties | |
int | Triggerables [get] |
Count of the current number of trigger clients. | |
Interface for declaring a class capable of triggering an ITriggerable class.
Objects implementing a TriggerProvider declare themselves able to provide triggering to any ITriggerable. The contract specifies that TriggerProvider will pass events on to the Triggerable class. This allows notifications, such as IEvents, to pass through the event bus and trigger other binders.