C# Class Nez.ColliderTriggerHelper

helper class used by the Movers to manage trigger colliders interactions and calling ITriggerListeners.
ファイルを表示 Open project: prime31/Nez Class Usage Examples

Public Methods

Method 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

Method Description
checkForExitedColliders ( ) : void
notifyTriggerListeners ( Pair collisionPair, bool isEntering ) : void

Method Details

ColliderTriggerHelper() public method

public ColliderTriggerHelper ( Entity entity ) : System.Collections.Generic
entity Entity
return System.Collections.Generic

update() public method

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