C# 클래스 Project290.Physics.Controllers.GravityController

상속: Controller
파일 보기 프로젝트 열기: scastle/Solitude

공개 프로퍼티들

프로퍼티 타입 설명
Bodies List
Points List

공개 메소드들

메소드 설명
AddBody ( Body body ) : void
AddPoint ( Vector2 point ) : void
GravityController ( float strength ) : System
GravityController ( float strength, float maxRadius, float minRadius ) : System
Update ( float dt ) : void

메소드 상세

AddBody() 공개 메소드

public AddBody ( Body body ) : void
body Project290.Physics.Dynamics.Body
리턴 void

AddPoint() 공개 메소드

public AddPoint ( Vector2 point ) : void
point Vector2
리턴 void

GravityController() 공개 메소드

public GravityController ( float strength ) : System
strength float
리턴 System

GravityController() 공개 메소드

public GravityController ( float strength, float maxRadius, float minRadius ) : System
strength float
maxRadius float
minRadius float
리턴 System

Update() 공개 메소드

public Update ( float dt ) : void
dt float
리턴 void

프로퍼티 상세

Bodies 공개적으로 프로퍼티

public List Bodies
리턴 List

Points 공개적으로 프로퍼티

public List Points
리턴 List