C# Класс SharpNeat.DomainsExtra.WalkerBox2d.WalkerWorld

Box2D world for the Walker problem domain.
Наследование: SharpNeat.DomainsExtra.Box2D.SimulationWorld
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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).

Защищенные методы

Метод Описание
PopulateWorld ( ) : void

Add objects to the Box2d world.

Приватные методы

Метод Описание
CreatePole ( Vec2 basePose, float length, float angle, float radius, float density, ushort layers ) : Body

Описание методов

CreateWalkerInterface() публичный Метод

Create an interface onto the walker player.
public CreateWalkerInterface ( ) : WalkerInterface
Результат WalkerInterface

InitSimulationWorld() публичный Метод

Inititialise world.
public InitSimulationWorld ( ) : void
Результат void

PopulateWorld() защищенный Метод

Add objects to the Box2d world.
protected PopulateWorld ( ) : void
Результат void

WalkerWorld() публичный Метод

Default constructor.
public WalkerWorld ( ) : Box2DX.Collision
Результат Box2DX.Collision

WalkerWorld() публичный Метод

Default constructor.
public WalkerWorld ( XorShiftRandom rng ) : Box2DX.Collision
rng Redzen.Numerics.XorShiftRandom
Результат Box2DX.Collision

WalkerWorld() публичный Метод

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
Результат Box2DX.Collision