C# Class TestBed.ElasticBody

Inheritance: Test
Afficher le fichier Open project: colgreen/box2dx

Méthodes publiques

Méthode Description
Create ( ) : Test

Default constructor

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

Apply dynamic forces (springs) and check elevator state

Private Methods

Méthode Description
AddSpringForce ( Body bA, Vec2 localA, Body bB, Vec2 localB, float k, float friction, float desiredDist ) : void

Add a spring force

Method Details

Create() public static méthode

Default constructor
public static Create ( ) : Test
Résultat Test

ElasticBody() public méthode

public ElasticBody ( ) : System
Résultat System

Step() public méthode

Apply dynamic forces (springs) and check elevator state
public Step ( Settings settings ) : void
settings Settings
Résultat void