C# 클래스 geek.GameEngine.Behaviours.GravityBehaviour

The gravity behaviour: applies a directional force to the object.
상속: IBehaviour
파일 보기 프로젝트 열기: impworks/xna.geek.engine

공개 프로퍼티들

프로퍼티 타입 설명
SpeedLimit float

공개 메소드들

메소드 설명
GravityBehaviour ( float coefficient, GravityDirection direction, float limit = DefaultSpeedLimit ) : System
GravityBehaviour ( float coefficient, float limit = DefaultSpeedLimit ) : System
UpdateObjectState ( DynamicObject obj ) : void

메소드 상세

GravityBehaviour() 공개 메소드

public GravityBehaviour ( float coefficient, GravityDirection direction, float limit = DefaultSpeedLimit ) : System
coefficient float
direction GravityDirection
limit float
리턴 System

GravityBehaviour() 공개 메소드

public GravityBehaviour ( float coefficient, float limit = DefaultSpeedLimit ) : System
coefficient float
limit float
리턴 System

UpdateObjectState() 공개 메소드

public UpdateObjectState ( DynamicObject obj ) : void
obj geek.GameEngine.Visuals.DynamicObject
리턴 void

프로퍼티 상세

SpeedLimit 공개적으로 프로퍼티

The maximum speed the object can achieve using gravity behaviour.
public float SpeedLimit
리턴 float