Метод | Описание | |
---|---|---|
ApplyActionUntil ( IBoundingBox entity, Action |
The apply action until.
|
|
ApplyGravity ( IHasVelocity entity, float xGravity, float yGravity ) : void |
The apply gravity.
|
|
ApplyMovement ( IBoundingBox entity, int xAmount, int yAmount, IEnumerable |
The apply movement.
|
|
ApplyOverheadCheck ( IBoundingBox entity, IEnumerable |
||
ClampSpeed ( IHasVelocity entity, float maximumXSpeed, float maximumYSpeed ) : void |
The clamp speed.
|
|
DefaultPlatforming ( ITransformUtilities transformUtilities, IBoundingBoxUtilities boundingBoxUtilities ) : Microsoft.Xna.Framework |
Initializes a new instance of the DefaultPlatforming class.
|
|
IsAtCeiling ( IBoundingBox entity, IEnumerable |
The is on ground.
|
|
IsOnGround ( IBoundingBox entity, IEnumerable |
The is on ground.
|
|
PerformHorizontalAlignment ( IBoundingBox entity, int cellWidth, int cellAlignment, int maxAdjust, System.Action simulateLeft, System.Action simulateRight ) : void |
The perform horizontal alignment.
|
public ApplyActionUntil ( IBoundingBox entity, Action |
||
entity | IBoundingBox | /// The entity. /// |
action | Action |
/// The action. /// |
check | bool>.Func | /// The check. /// |
maximum | int | /// The maximum. /// |
Результат | void |
public ApplyGravity ( IHasVelocity entity, float xGravity, float yGravity ) : void | ||
entity | IHasVelocity | /// The entity. /// |
xGravity | float | /// The x gravity. /// |
yGravity | float | /// The y gravity. /// |
Результат | void |
public ApplyMovement ( IBoundingBox entity, int xAmount, int yAmount, IEnumerable |
||
entity | IBoundingBox | /// The entity. /// |
xAmount | int | /// The x amount. /// |
yAmount | int | /// The y amount. /// |
entities | IEnumerable |
/// The entities. /// |
ground | bool>.Func | /// The ground. /// |
Результат | bool |
public ApplyOverheadCheck ( IBoundingBox entity, IEnumerable |
||
entity | IBoundingBox | |
entities | IEnumerable |
|
ground | bool>.Func | |
yGravity | float | |
bounce | bool | |
Результат | bool |
public ClampSpeed ( IHasVelocity entity, float maximumXSpeed, float maximumYSpeed ) : void | ||
entity | IHasVelocity | /// The entity. /// |
maximumXSpeed | float | /// The maximum x speed. /// |
maximumYSpeed | float | /// The maximum y speed. /// |
Результат | void |
public DefaultPlatforming ( ITransformUtilities transformUtilities, IBoundingBoxUtilities boundingBoxUtilities ) : Microsoft.Xna.Framework | ||
transformUtilities | ITransformUtilities | /// The transform utilities. /// |
boundingBoxUtilities | IBoundingBoxUtilities | /// The bounding box utilities. /// |
Результат | Microsoft.Xna.Framework |
public IsAtCeiling ( IBoundingBox entity, IEnumerable |
||
entity | IBoundingBox | /// The entity. /// |
entities | IEnumerable |
/// The entities. /// |
ground | bool>.Func | /// The ground. /// |
Результат | bool |
public IsOnGround ( IBoundingBox entity, IEnumerable |
||
entity | IBoundingBox | /// The entity. /// |
entities | IEnumerable |
/// The entities. /// |
ground | bool>.Func | /// The ground. /// |
Результат | bool |
public PerformHorizontalAlignment ( IBoundingBox entity, int cellWidth, int cellAlignment, int maxAdjust, System.Action simulateLeft, System.Action simulateRight ) : void | ||
entity | IBoundingBox | /// The entity. /// |
cellWidth | int | /// The cell width. /// |
cellAlignment | int | /// The cell alignment. /// |
maxAdjust | int | /// The max adjust. /// |
simulateLeft | System.Action | /// The simulate left. /// |
simulateRight | System.Action | /// The simulate right. /// |
Результат | void |