C# Class Artemis.Engine.BodyConstructor

Exibir arquivo Open project: ArtemisEngine/Artemis-Engine

Public Methods

Method Description
AllowsSleeping ( ) : BodyConstructor
AsBodyType ( BodyType type ) : BodyConstructor
AsBullet ( ) : BodyConstructor
AsDynamic ( ) : BodyConstructor
AsKinematic ( ) : BodyConstructor
AsSensor ( ) : BodyConstructor
AsSensor ( string fixtureName ) : BodyConstructor
AsStatic ( ) : BodyConstructor
BodyConstructor ( ) : System
BodyConstructor ( World world ) : System
CollidesWith ( Category category ) : BodyConstructor
CollidesWith ( string fixtureName, Category category ) : BodyConstructor
Construct ( ) : Body
HasFixedRotation ( ) : BodyConstructor
IgnoresCCD ( ) : BodyConstructor
IgnoresCCDWith ( Category category ) : BodyConstructor
IgnoresCCDWith ( string fixtureName, Category category ) : BodyConstructor
IgnoresGravity ( ) : BodyConstructor
InWorld ( World world ) : BodyConstructor
IsInitiallyAwake ( ) : BodyConstructor
IsInitiallyEnabled ( ) : BodyConstructor
WithAfterCollision ( AfterCollisionEventHandler handler ) : BodyConstructor
WithAfterCollision ( string fixtureName, AfterCollisionEventHandler handler ) : BodyConstructor
WithAngularDamping ( float damping ) : BodyConstructor
WithBeforeCollision ( BeforeCollisionEventHandler handler ) : BodyConstructor
WithBeforeCollision ( string fixtureName, BeforeCollisionEventHandler handler ) : BodyConstructor
WithCollisionCategories ( Category category ) : BodyConstructor
WithCollisionCategories ( string fixtureName, Category category ) : BodyConstructor
WithCollisionGroup ( short collisionGroup ) : BodyConstructor
WithCollisionGroup ( string fixtureName, short collisionGroup ) : BodyConstructor
WithFriction ( float friction ) : BodyConstructor
WithFriction ( string fixtureName, float friction ) : BodyConstructor
WithGravityScale ( float scale ) : BodyConstructor
WithInertia ( float inertia ) : BodyConstructor
WithInitialAngularVelocity ( float angularVelocity ) : BodyConstructor
WithInitialLinearVelocity ( Vector2 linearVelocity ) : BodyConstructor
WithIslandIndex ( int index ) : BodyConstructor
WithLinearDamping ( float linearDamping ) : BodyConstructor
WithLocalCenter ( Vector2 pos ) : BodyConstructor
WithMass ( float mass ) : BodyConstructor
WithOnCollision ( OnCollisionEventHandler handler ) : BodyConstructor
WithOnCollision ( string fixtureName, OnCollisionEventHandler handler ) : BodyConstructor
WithOnSeparation ( OnSeparationEventHandler handler ) : BodyConstructor
WithOnSeparation ( string fixtureName, OnSeparationEventHandler handler ) : BodyConstructor
WithPosition ( Vector2 position ) : BodyConstructor
WithRestitution ( float restitution ) : BodyConstructor
WithRestitution ( string fixtureName, float restitution ) : BodyConstructor
WithRotation ( float rotation ) : BodyConstructor
WithShape ( Shape shape ) : BodyConstructor
WithShape ( string fixtureName, Shape shape ) : BodyConstructor

Private Methods

Method Description
SetFixtureData ( Fixture fixture, FixtureData fixtureData ) : void

Method Details

AllowsSleeping() public method

public AllowsSleeping ( ) : BodyConstructor
return BodyConstructor

AsBodyType() public method

public AsBodyType ( BodyType type ) : BodyConstructor
type BodyType
return BodyConstructor

AsBullet() public method

public AsBullet ( ) : BodyConstructor
return BodyConstructor

AsDynamic() public method

public AsDynamic ( ) : BodyConstructor
return BodyConstructor

AsKinematic() public method

public AsKinematic ( ) : BodyConstructor
return BodyConstructor

AsSensor() public method

public AsSensor ( ) : BodyConstructor
return BodyConstructor

AsSensor() public method

public AsSensor ( string fixtureName ) : BodyConstructor
fixtureName string
return BodyConstructor

AsStatic() public method

public AsStatic ( ) : BodyConstructor
return BodyConstructor

BodyConstructor() public method

public BodyConstructor ( ) : System
return System

BodyConstructor() public method

public BodyConstructor ( World world ) : System
world FarseerPhysics.Dynamics.World
return System

CollidesWith() public method

public CollidesWith ( Category category ) : BodyConstructor
category Category
return BodyConstructor

CollidesWith() public method

public CollidesWith ( string fixtureName, Category category ) : BodyConstructor
fixtureName string
category Category
return BodyConstructor

Construct() public method

public Construct ( ) : Body
return FarseerPhysics.Dynamics.Body

HasFixedRotation() public method

public HasFixedRotation ( ) : BodyConstructor
return BodyConstructor

IgnoresCCD() public method

public IgnoresCCD ( ) : BodyConstructor
return BodyConstructor

IgnoresCCDWith() public method

public IgnoresCCDWith ( Category category ) : BodyConstructor
category Category
return BodyConstructor

IgnoresCCDWith() public method

public IgnoresCCDWith ( string fixtureName, Category category ) : BodyConstructor
fixtureName string
category Category
return BodyConstructor

IgnoresGravity() public method

public IgnoresGravity ( ) : BodyConstructor
return BodyConstructor

InWorld() public method

public InWorld ( World world ) : BodyConstructor
world FarseerPhysics.Dynamics.World
return BodyConstructor

IsInitiallyAwake() public method

public IsInitiallyAwake ( ) : BodyConstructor
return BodyConstructor

IsInitiallyEnabled() public method

public IsInitiallyEnabled ( ) : BodyConstructor
return BodyConstructor

WithAfterCollision() public method

public WithAfterCollision ( AfterCollisionEventHandler handler ) : BodyConstructor
handler AfterCollisionEventHandler
return BodyConstructor

WithAfterCollision() public method

public WithAfterCollision ( string fixtureName, AfterCollisionEventHandler handler ) : BodyConstructor
fixtureName string
handler AfterCollisionEventHandler
return BodyConstructor

WithAngularDamping() public method

public WithAngularDamping ( float damping ) : BodyConstructor
damping float
return BodyConstructor

WithBeforeCollision() public method

public WithBeforeCollision ( BeforeCollisionEventHandler handler ) : BodyConstructor
handler BeforeCollisionEventHandler
return BodyConstructor

WithBeforeCollision() public method

public WithBeforeCollision ( string fixtureName, BeforeCollisionEventHandler handler ) : BodyConstructor
fixtureName string
handler BeforeCollisionEventHandler
return BodyConstructor

WithCollisionCategories() public method

public WithCollisionCategories ( Category category ) : BodyConstructor
category Category
return BodyConstructor

WithCollisionCategories() public method

public WithCollisionCategories ( string fixtureName, Category category ) : BodyConstructor
fixtureName string
category Category
return BodyConstructor

WithCollisionGroup() public method

public WithCollisionGroup ( short collisionGroup ) : BodyConstructor
collisionGroup short
return BodyConstructor

WithCollisionGroup() public method

public WithCollisionGroup ( string fixtureName, short collisionGroup ) : BodyConstructor
fixtureName string
collisionGroup short
return BodyConstructor

WithFriction() public method

public WithFriction ( float friction ) : BodyConstructor
friction float
return BodyConstructor

WithFriction() public method

public WithFriction ( string fixtureName, float friction ) : BodyConstructor
fixtureName string
friction float
return BodyConstructor

WithGravityScale() public method

public WithGravityScale ( float scale ) : BodyConstructor
scale float
return BodyConstructor

WithInertia() public method

public WithInertia ( float inertia ) : BodyConstructor
inertia float
return BodyConstructor

WithInitialAngularVelocity() public method

public WithInitialAngularVelocity ( float angularVelocity ) : BodyConstructor
angularVelocity float
return BodyConstructor

WithInitialLinearVelocity() public method

public WithInitialLinearVelocity ( Vector2 linearVelocity ) : BodyConstructor
linearVelocity Vector2
return BodyConstructor

WithIslandIndex() public method

public WithIslandIndex ( int index ) : BodyConstructor
index int
return BodyConstructor

WithLinearDamping() public method

public WithLinearDamping ( float linearDamping ) : BodyConstructor
linearDamping float
return BodyConstructor

WithLocalCenter() public method

public WithLocalCenter ( Vector2 pos ) : BodyConstructor
pos Vector2
return BodyConstructor

WithMass() public method

public WithMass ( float mass ) : BodyConstructor
mass float
return BodyConstructor

WithOnCollision() public method

public WithOnCollision ( OnCollisionEventHandler handler ) : BodyConstructor
handler OnCollisionEventHandler
return BodyConstructor

WithOnCollision() public method

public WithOnCollision ( string fixtureName, OnCollisionEventHandler handler ) : BodyConstructor
fixtureName string
handler OnCollisionEventHandler
return BodyConstructor

WithOnSeparation() public method

public WithOnSeparation ( OnSeparationEventHandler handler ) : BodyConstructor
handler OnSeparationEventHandler
return BodyConstructor

WithOnSeparation() public method

public WithOnSeparation ( string fixtureName, OnSeparationEventHandler handler ) : BodyConstructor
fixtureName string
handler OnSeparationEventHandler
return BodyConstructor

WithPosition() public method

public WithPosition ( Vector2 position ) : BodyConstructor
position Vector2
return BodyConstructor

WithRestitution() public method

public WithRestitution ( float restitution ) : BodyConstructor
restitution float
return BodyConstructor

WithRestitution() public method

public WithRestitution ( string fixtureName, float restitution ) : BodyConstructor
fixtureName string
restitution float
return BodyConstructor

WithRotation() public method

public WithRotation ( float rotation ) : BodyConstructor
rotation float
return BodyConstructor

WithShape() public method

public WithShape ( Shape shape ) : BodyConstructor
shape FarseerPhysics.Collision.Shapes.Shape
return BodyConstructor

WithShape() public method

public WithShape ( string fixtureName, Shape shape ) : BodyConstructor
fixtureName string
shape FarseerPhysics.Collision.Shapes.Shape
return BodyConstructor