Table of Contents

Interface ITrackingProximity<T>

Namespace
Uncreated.Warfare.Proximity
Assembly
Uncreated.Warfare.dll

Able to listen for a certain type of object to enter or leave the proximity, and keeps a list of objects currently in proximity.

public interface ITrackingProximity<T> : IEventBasedProximity<T>, IProximity, IShapeVolume, ICloneable

Type Parameters

T
Inherited Members
IShapeVolume.containsPoint(Vector3)
IShapeVolume.worldBounds
IShapeVolume.internalVolume
IShapeVolume.surfaceArea
Extension Methods

Properties

ActiveObjects

List of all objects currently in proximity.

IReadOnlyList<T> ActiveObjects { get; }

Property Value

IReadOnlyList<T>

Remarks

This should be updated before OnObjectEntered and OnObjectExited are updated.

Methods

Contains(T)

If this object is in proximity.

bool Contains(T obj)

Parameters

obj T

Returns

bool