C# Class SharpNeat.DomainsExtra.WalkerBox2d.WalkerWorld

Box2D world for the Walker problem domain.
Inheritance: SharpNeat.DomainsExtra.Box2D.SimulationWorld
Afficher le fichier Open project: colgreen/sharpneat Class Usage Examples

Méthodes publiques

Méthode Description
CreateWalkerInterface ( ) : WalkerInterface

Create an interface onto the walker player.

InitSimulationWorld ( ) : void

Inititialise world.

WalkerWorld ( ) : Box2DX.Collision

Default constructor.

WalkerWorld ( XorShiftRandom rng ) : Box2DX.Collision

Default constructor.

WalkerWorld ( XorShiftRandom rng, float trackLength ) : Box2DX.Collision

Constructor accepting a trackLength parameter (length of the track that the walker is walking along).

Méthodes protégées

Méthode Description
PopulateWorld ( ) : void

Add objects to the Box2d world.

Private Methods

Méthode Description
CreatePole ( Vec2 basePose, float length, float angle, float radius, float density, ushort layers ) : Body

Method Details

CreateWalkerInterface() public méthode

Create an interface onto the walker player.
public CreateWalkerInterface ( ) : WalkerInterface
Résultat WalkerInterface

InitSimulationWorld() public méthode

Inititialise world.
public InitSimulationWorld ( ) : void
Résultat void

PopulateWorld() protected méthode

Add objects to the Box2d world.
protected PopulateWorld ( ) : void
Résultat void

WalkerWorld() public méthode

Default constructor.
public WalkerWorld ( ) : Box2DX.Collision
Résultat Box2DX.Collision

WalkerWorld() public méthode

Default constructor.
public WalkerWorld ( XorShiftRandom rng ) : Box2DX.Collision
rng Redzen.Numerics.XorShiftRandom
Résultat Box2DX.Collision

WalkerWorld() public méthode

Constructor accepting a trackLength parameter (length of the track that the walker is walking along).
public WalkerWorld ( XorShiftRandom rng, float trackLength ) : Box2DX.Collision
rng Redzen.Numerics.XorShiftRandom Random number generator.
trackLength float
Résultat Box2DX.Collision