C# Class Protogame.Tests.BoundingBoxTests

Mostra file Open project: RedpointGames/Protogame

Public Methods

Method Description
BoundingBoxTests ( IAssert assert ) : Microsoft.Xna.Framework
IsNotOverlappingWhenBoxesAreNextToEachOther ( ) : void
IsNotOverlappingWhenBoxesAreStationary ( ) : void
IsNotOverlappingWhenNoBoundingBoxes ( ) : void
IsNotOverlappingWhenOneBoundingBox ( ) : void
IsNotOverlappingWhenSameBoundingBoxAndNoOtherBoxes ( ) : void
IsNotOverlappingWhenSameBoundingBoxAndOtherBoxesAreNotOverlapping ( ) : void
IsOverlappingOnlyWhen3DBoxesIntersectInner ( ) : void
IsOverlappingOnlyWhen3DBoxesIntersectInnerAfter ( ) : void
IsOverlappingOnlyWhen3DBoxesIntersectMiddle ( ) : void
IsOverlappingOnlyWhen3DBoxesIntersectOuter ( ) : void
IsOverlappingOnlyWhen3DBoxesIntersectOuterBefore ( ) : void
IsOverlappingWhenBothBoxesAreMovingTowardEachOther ( ) : void
IsOverlappingWhenBoxWithZeroDimensionIsNextToAnother ( ) : void
IsOverlappingWhenDifferentBoundingBoxes ( ) : void
IsOverlappingWhenDifferentBoxesOverlap ( ) : void
IsOverlappingWhenOneBoxIsMovingTowardTheOther ( ) : void
IsOverlappingWhenSameBoundingBoxAndOtherBoxesAreOverlapping ( ) : void

Private Methods

Method Description
Create3DBoundingBox ( int x, int y, int z, int width, int height, int depth, int xspeed, int yspeed, int zspeed ) : IBoundingBox
CreateBoundingBox ( int x, int y, int width, int height, int xspeed, int yspeed ) : IBoundingBox

Method Details

BoundingBoxTests() public method

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

IsNotOverlappingWhenBoxesAreNextToEachOther() public method

public IsNotOverlappingWhenBoxesAreNextToEachOther ( ) : void
return void

IsNotOverlappingWhenBoxesAreStationary() public method

public IsNotOverlappingWhenBoxesAreStationary ( ) : void
return void

IsNotOverlappingWhenNoBoundingBoxes() public method

public IsNotOverlappingWhenNoBoundingBoxes ( ) : void
return void

IsNotOverlappingWhenOneBoundingBox() public method

public IsNotOverlappingWhenOneBoundingBox ( ) : void
return void

IsNotOverlappingWhenSameBoundingBoxAndNoOtherBoxes() public method

IsNotOverlappingWhenSameBoundingBoxAndOtherBoxesAreNotOverlapping() public method

IsOverlappingOnlyWhen3DBoxesIntersectInner() public method

public IsOverlappingOnlyWhen3DBoxesIntersectInner ( ) : void
return void

IsOverlappingOnlyWhen3DBoxesIntersectInnerAfter() public method

public IsOverlappingOnlyWhen3DBoxesIntersectInnerAfter ( ) : void
return void

IsOverlappingOnlyWhen3DBoxesIntersectMiddle() public method

public IsOverlappingOnlyWhen3DBoxesIntersectMiddle ( ) : void
return void

IsOverlappingOnlyWhen3DBoxesIntersectOuter() public method

public IsOverlappingOnlyWhen3DBoxesIntersectOuter ( ) : void
return void

IsOverlappingOnlyWhen3DBoxesIntersectOuterBefore() public method

public IsOverlappingOnlyWhen3DBoxesIntersectOuterBefore ( ) : void
return void

IsOverlappingWhenBothBoxesAreMovingTowardEachOther() public method

IsOverlappingWhenBoxWithZeroDimensionIsNextToAnother() public method

IsOverlappingWhenDifferentBoundingBoxes() public method

public IsOverlappingWhenDifferentBoundingBoxes ( ) : void
return void

IsOverlappingWhenDifferentBoxesOverlap() public method

public IsOverlappingWhenDifferentBoxesOverlap ( ) : void
return void

IsOverlappingWhenOneBoxIsMovingTowardTheOther() public method

public IsOverlappingWhenOneBoxIsMovingTowardTheOther ( ) : void
return void

IsOverlappingWhenSameBoundingBoxAndOtherBoxesAreOverlapping() public method