C# 클래스 TestBed.ElasticBody

상속: Test
파일 보기 프로젝트 열기: colgreen/box2dx

공개 메소드들

메소드 설명
Create ( ) : Test

Default constructor

ElasticBody ( ) : System
Step ( Settings settings ) : void

Apply dynamic forces (springs) and check elevator state

비공개 메소드들

메소드 설명
AddSpringForce ( Body bA, Vec2 localA, Body bB, Vec2 localB, float k, float friction, float desiredDist ) : void

Add a spring force

메소드 상세

Create() 공개 정적인 메소드

Default constructor
public static Create ( ) : Test
리턴 Test

ElasticBody() 공개 메소드

public ElasticBody ( ) : System
리턴 System

Step() 공개 메소드

Apply dynamic forces (springs) and check elevator state
public Step ( Settings settings ) : void
settings Settings
리턴 void