Method GetObjectsInEffectArea
GetObjectsInEffectArea<T>()
Gets all objects of the given type that are currently in this area of effect.
public IEnumerable<T> GetObjectsInEffectArea<T>() where T : NwGameObject
Returns
- IEnumerable<T>
An enumerable containing all objects currently in the effect area.
Type Parameters
TThe type of objects to return.
GetObjectsInEffectArea(ObjectTypes)
Gets all objects of the given types that are currently in this area of effect.
public IEnumerable<NwGameObject> GetObjectsInEffectArea(ObjectTypes objectTypes)
Parameters
objectTypesObjectTypesThe types of object to return.
Returns
- IEnumerable<NwGameObject>
An enumerable containing all objects currently in the effect area.