◆ EntityAreaTrigger() [1/2]
essentials.Systems.Triggers.EntityAreaTrigger.EntityAreaTrigger |
( |
Volume |
volume, |
|
|
Func< IEntity, bool > |
predicate |
|
) |
| |
18 this.InjectDependencies();
19 this._volume = volume;
20 this._predicate = predicate;
◆ EntityAreaTrigger() [2/2]
essentials.Systems.Triggers.EntityAreaTrigger.EntityAreaTrigger |
( |
Volume |
volume | ) |
|
24 :
this(volume, x =>
true)
◆ CheckTrigger()
override bool essentials.Systems.Triggers.EntityAreaTrigger.CheckTrigger |
( |
| ) |
|
|
protectedvirtual |
Implements essentials.Systems.Triggers.AbstractTrigger.
31 foreach(var entity
in _entityManager.GetEntitiesOfType<
IActor>())
34 && _predicate(entity) )
A class representing a 3D coordinate of integers
Definition: Vector3i.cs:13
bool PointIn(Vector3i pt)
Definition: Volume.cs:167
The documentation for this class was generated from the following file: