C# Class Nez.ColliderTriggerHelper

helper class used by the Movers to manage trigger colliders interactions and calling ITriggerListeners.
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Méthode Description
ColliderTriggerHelper ( Entity entity ) : System.Collections.Generic
update ( ) : void

update should be called AFTER Entity is moved. It will take care of any ITriggerListeners that the Collider overlaps.

Private Methods

Méthode Description
checkForExitedColliders ( ) : void
notifyTriggerListeners ( Pair collisionPair, bool isEntering ) : void

Method Details

ColliderTriggerHelper() public méthode

public ColliderTriggerHelper ( Entity entity ) : System.Collections.Generic
entity Entity
Résultat System.Collections.Generic

update() public méthode

update should be called AFTER Entity is moved. It will take care of any ITriggerListeners that the Collider overlaps.
public update ( ) : void
Résultat void