C# 클래스 Nez.ProjectileMover

moves taking collision into account only for reporting to any ITriggerListeners. The object will always move the full amount so it is up to the caller to destroy it on impact if desired.
상속: Component
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
move ( Vector2 motion ) : bool

moves the entity taking collisions into account

onAddedToEntity ( ) : void

비공개 메소드들

메소드 설명
notifyTriggerListeners ( Collider self, Collider other ) : void

메소드 상세

move() 공개 메소드

moves the entity taking collisions into account
public move ( Vector2 motion ) : bool
motion Microsoft.Xna.Framework.Vector2 Motion.
리턴 bool

onAddedToEntity() 공개 메소드

public onAddedToEntity ( ) : void
리턴 void