Interface IBehaviorAware<T>
Type Parameters
T
Hierarchy
- IBehaviorAware
Implemented by
Index
Methods
add BehaviorSearch playground for addBehavior
Attach a behavior
Parameters
behavior: Behavior<T>
defines the behavior to attach
Returns T
the current host
get Behavior By NameSearch playground for getBehaviorByName
remove BehaviorSearch playground for removeBehavior
Remove a behavior from the current object
Parameters
behavior: Behavior<T>
defines the behavior to detach
Returns T
the current host
Interface implemented by classes supporting behaviors