C# 클래스 Nez.ColliderTriggerHelper

helper class used by the Movers to manage trigger colliders interactions and calling ITriggerListeners.
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
checkForExitedColliders ( ) : void
notifyTriggerListeners ( Pair collisionPair, bool isEntering ) : void

메소드 상세

ColliderTriggerHelper() 공개 메소드

public ColliderTriggerHelper ( Entity entity ) : System.Collections.Generic
entity Entity
리턴 System.Collections.Generic

update() 공개 메소드

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