Entity.HasBehavior Method
Definition
Namespace: Brine2D.ECS
| Overloads | |
|---|---|
| HasBehavior\(Type\) | Checks if this entity has a behavior of the specified type \(non\-generic version\). Used internally by query infrastructure for dynamic type checking. |
| HasBehavior<T>() | Checks if this entity has a behavior of the specified type. |
Entity.HasBehavior\(Type\) Method
Checks if this entity has a behavior of the specified type \(non\-generic version\). Used internally by query infrastructure for dynamic type checking.
Parameters
behaviorType System.Type
Returns
Entity.HasBehavior\<T>() Method
Checks if this entity has a behavior of the specified type.
Type parameters
T