C# Class Protogame.Tests.PlatformingModuleTests

Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode Description
ApplyUntilRunsUntilCheck ( ) : void
ApplyUntilRunsUntilLimit ( ) : void
GravityIsAppliedWhenGravityIsNegative ( ) : void
GravityIsAppliedWhenGravityIsPositive ( ) : void
IsNotOnGroundWhenJustAboveTheGround ( ) : void
IsNotOnGroundWhenNoEntities ( ) : void
IsNotOnGroundWhenOnlyEntity ( ) : void
IsOnGroundWhenJustAboveTheGroundAndFalling ( ) : void
IsOnGroundWhenStandingDirectlyOnGround ( ) : void
PlatformingModuleTests ( IAssert assert ) : Microsoft.Xna.Framework
SpeedIsClampedWhenSpeedIsNegativeAndOverLimit ( ) : void
SpeedIsClampedWhenSpeedIsOverLimit ( ) : void
SpeedIsNotClampedWhenSpeedIsExactlyAtLimit ( ) : void
SpeedIsNotClampedWhenSpeedIsNegativeAndExactlyAtLimit ( ) : void
SpeedIsNotClampedWhenSpeedIsNegativeAndUnderLimit ( ) : void
SpeedIsNotClampedWhenSpeedIsUnderLimit ( ) : void
SpeedIsNotClampedWhenSpeedIsZero ( ) : void

Private Methods

Méthode Description
CreateBoundingBox ( int x, int y, int width, int height, int xspeed, int yspeed ) : IBoundingBox

Method Details

ApplyUntilRunsUntilCheck() public méthode

public ApplyUntilRunsUntilCheck ( ) : void
Résultat void

ApplyUntilRunsUntilLimit() public méthode

public ApplyUntilRunsUntilLimit ( ) : void
Résultat void

GravityIsAppliedWhenGravityIsNegative() public méthode

public GravityIsAppliedWhenGravityIsNegative ( ) : void
Résultat void

GravityIsAppliedWhenGravityIsPositive() public méthode

public GravityIsAppliedWhenGravityIsPositive ( ) : void
Résultat void

IsNotOnGroundWhenJustAboveTheGround() public méthode

public IsNotOnGroundWhenJustAboveTheGround ( ) : void
Résultat void

IsNotOnGroundWhenNoEntities() public méthode

public IsNotOnGroundWhenNoEntities ( ) : void
Résultat void

IsNotOnGroundWhenOnlyEntity() public méthode

public IsNotOnGroundWhenOnlyEntity ( ) : void
Résultat void

IsOnGroundWhenJustAboveTheGroundAndFalling() public méthode

public IsOnGroundWhenJustAboveTheGroundAndFalling ( ) : void
Résultat void

IsOnGroundWhenStandingDirectlyOnGround() public méthode

public IsOnGroundWhenStandingDirectlyOnGround ( ) : void
Résultat void

PlatformingModuleTests() public méthode

public PlatformingModuleTests ( IAssert assert ) : Microsoft.Xna.Framework
assert IAssert
Résultat Microsoft.Xna.Framework

SpeedIsClampedWhenSpeedIsNegativeAndOverLimit() public méthode

public SpeedIsClampedWhenSpeedIsNegativeAndOverLimit ( ) : void
Résultat void

SpeedIsClampedWhenSpeedIsOverLimit() public méthode

public SpeedIsClampedWhenSpeedIsOverLimit ( ) : void
Résultat void

SpeedIsNotClampedWhenSpeedIsExactlyAtLimit() public méthode

public SpeedIsNotClampedWhenSpeedIsExactlyAtLimit ( ) : void
Résultat void

SpeedIsNotClampedWhenSpeedIsNegativeAndExactlyAtLimit() public méthode

SpeedIsNotClampedWhenSpeedIsNegativeAndUnderLimit() public méthode

public SpeedIsNotClampedWhenSpeedIsNegativeAndUnderLimit ( ) : void
Résultat void

SpeedIsNotClampedWhenSpeedIsUnderLimit() public méthode

public SpeedIsNotClampedWhenSpeedIsUnderLimit ( ) : void
Résultat void

SpeedIsNotClampedWhenSpeedIsZero() public méthode

public SpeedIsNotClampedWhenSpeedIsZero ( ) : void
Résultat void