C# Class Protogame.Tests.BoundingBoxTests

Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

IsNotOverlappingWhenBoxesAreNextToEachOther() public méthode

public IsNotOverlappingWhenBoxesAreNextToEachOther ( ) : void
Résultat void

IsNotOverlappingWhenBoxesAreStationary() public méthode

public IsNotOverlappingWhenBoxesAreStationary ( ) : void
Résultat void

IsNotOverlappingWhenNoBoundingBoxes() public méthode

public IsNotOverlappingWhenNoBoundingBoxes ( ) : void
Résultat void

IsNotOverlappingWhenOneBoundingBox() public méthode

public IsNotOverlappingWhenOneBoundingBox ( ) : void
Résultat void

IsNotOverlappingWhenSameBoundingBoxAndNoOtherBoxes() public méthode

public IsNotOverlappingWhenSameBoundingBoxAndNoOtherBoxes ( ) : void
Résultat void

IsNotOverlappingWhenSameBoundingBoxAndOtherBoxesAreNotOverlapping() public méthode

IsOverlappingOnlyWhen3DBoxesIntersectInner() public méthode

public IsOverlappingOnlyWhen3DBoxesIntersectInner ( ) : void
Résultat void

IsOverlappingOnlyWhen3DBoxesIntersectInnerAfter() public méthode

public IsOverlappingOnlyWhen3DBoxesIntersectInnerAfter ( ) : void
Résultat void

IsOverlappingOnlyWhen3DBoxesIntersectMiddle() public méthode

public IsOverlappingOnlyWhen3DBoxesIntersectMiddle ( ) : void
Résultat void

IsOverlappingOnlyWhen3DBoxesIntersectOuter() public méthode

public IsOverlappingOnlyWhen3DBoxesIntersectOuter ( ) : void
Résultat void

IsOverlappingOnlyWhen3DBoxesIntersectOuterBefore() public méthode

public IsOverlappingOnlyWhen3DBoxesIntersectOuterBefore ( ) : void
Résultat void

IsOverlappingWhenBothBoxesAreMovingTowardEachOther() public méthode

public IsOverlappingWhenBothBoxesAreMovingTowardEachOther ( ) : void
Résultat void

IsOverlappingWhenBoxWithZeroDimensionIsNextToAnother() public méthode

public IsOverlappingWhenBoxWithZeroDimensionIsNextToAnother ( ) : void
Résultat void

IsOverlappingWhenDifferentBoundingBoxes() public méthode

public IsOverlappingWhenDifferentBoundingBoxes ( ) : void
Résultat void

IsOverlappingWhenDifferentBoxesOverlap() public méthode

public IsOverlappingWhenDifferentBoxesOverlap ( ) : void
Résultat void

IsOverlappingWhenOneBoxIsMovingTowardTheOther() public méthode

public IsOverlappingWhenOneBoxIsMovingTowardTheOther ( ) : void
Résultat void

IsOverlappingWhenSameBoundingBoxAndOtherBoxesAreOverlapping() public méthode