C# Class Protogame.Tests.PlatformingModuleTests

Mostrar archivo Open project: RedpointGames/Protogame

Public Methods

Method 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

Method Description
CreateBoundingBox ( int x, int y, int width, int height, int xspeed, int yspeed ) : IBoundingBox

Method Details

ApplyUntilRunsUntilCheck() public method

public ApplyUntilRunsUntilCheck ( ) : void
return void

ApplyUntilRunsUntilLimit() public method

public ApplyUntilRunsUntilLimit ( ) : void
return void

GravityIsAppliedWhenGravityIsNegative() public method

public GravityIsAppliedWhenGravityIsNegative ( ) : void
return void

GravityIsAppliedWhenGravityIsPositive() public method

public GravityIsAppliedWhenGravityIsPositive ( ) : void
return void

IsNotOnGroundWhenJustAboveTheGround() public method

public IsNotOnGroundWhenJustAboveTheGround ( ) : void
return void

IsNotOnGroundWhenNoEntities() public method

public IsNotOnGroundWhenNoEntities ( ) : void
return void

IsNotOnGroundWhenOnlyEntity() public method

public IsNotOnGroundWhenOnlyEntity ( ) : void
return void

IsOnGroundWhenJustAboveTheGroundAndFalling() public method

public IsOnGroundWhenJustAboveTheGroundAndFalling ( ) : void
return void

IsOnGroundWhenStandingDirectlyOnGround() public method

public IsOnGroundWhenStandingDirectlyOnGround ( ) : void
return void

PlatformingModuleTests() public method

public PlatformingModuleTests ( IAssert assert ) : Microsoft.Xna.Framework
assert IAssert
return Microsoft.Xna.Framework

SpeedIsClampedWhenSpeedIsNegativeAndOverLimit() public method

public SpeedIsClampedWhenSpeedIsNegativeAndOverLimit ( ) : void
return void

SpeedIsClampedWhenSpeedIsOverLimit() public method

public SpeedIsClampedWhenSpeedIsOverLimit ( ) : void
return void

SpeedIsNotClampedWhenSpeedIsExactlyAtLimit() public method

public SpeedIsNotClampedWhenSpeedIsExactlyAtLimit ( ) : void
return void

SpeedIsNotClampedWhenSpeedIsNegativeAndExactlyAtLimit() public method

SpeedIsNotClampedWhenSpeedIsNegativeAndUnderLimit() public method

SpeedIsNotClampedWhenSpeedIsUnderLimit() public method

public SpeedIsNotClampedWhenSpeedIsUnderLimit ( ) : void
return void

SpeedIsNotClampedWhenSpeedIsZero() public method

public SpeedIsNotClampedWhenSpeedIsZero ( ) : void
return void