C# Class FlatRedBall.TileCollisions.TileShapeCollection

Mostrar archivo Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
AddCollisionAtWorld ( float x, float y ) : void
CollideAgainst ( AxisAlignedRectangle rectangle ) : bool
CollideAgainst ( Circle circle ) : bool
CollideAgainst ( ICollidable collidable ) : bool
CollideAgainstBounce ( ICollidable collidable, float elasticity ) : bool
CollideAgainstSolid ( AxisAlignedRectangle movableObject ) : bool
CollideAgainstSolid ( Circle movableObject ) : bool
CollideAgainstSolid ( ICollidable collidable ) : bool
CollideAgainstSolid ( Polygon movableObject ) : bool
GetTileAt ( float x, float y ) : AxisAlignedRectangle
RemoveCollisionAtWorld ( float x, float y ) : void
RemoveFromManagers ( ) : void
TileShapeCollection ( ) : FlatRedBall.Math
TileShapeCollection ( ) : GlueTestProject.DataTypes

Private Methods

Method Description
GetKeyValue ( float x, float y ) : float
GetTileAt ( float x, float y, int startInclusive, int endExclusive ) : AxisAlignedRectangle
PerformSort ( ) : void
UpdateRepositionDirectionsFor ( AxisAlignedRectangle newAar ) : void

Method Details

AddCollisionAtWorld() public method

public AddCollisionAtWorld ( float x, float y ) : void
x float
y float
return void

CollideAgainst() public method

public CollideAgainst ( AxisAlignedRectangle rectangle ) : bool
rectangle AxisAlignedRectangle
return bool

CollideAgainst() public method

public CollideAgainst ( Circle circle ) : bool
circle Circle
return bool

CollideAgainst() public method

public CollideAgainst ( ICollidable collidable ) : bool
collidable ICollidable
return bool

CollideAgainstBounce() public method

public CollideAgainstBounce ( ICollidable collidable, float elasticity ) : bool
collidable ICollidable
elasticity float
return bool

CollideAgainstSolid() public method

public CollideAgainstSolid ( AxisAlignedRectangle movableObject ) : bool
movableObject AxisAlignedRectangle
return bool

CollideAgainstSolid() public method

public CollideAgainstSolid ( Circle movableObject ) : bool
movableObject Circle
return bool

CollideAgainstSolid() public method

public CollideAgainstSolid ( ICollidable collidable ) : bool
collidable ICollidable
return bool

CollideAgainstSolid() public method

public CollideAgainstSolid ( Polygon movableObject ) : bool
movableObject Polygon
return bool

GetTileAt() public method

public GetTileAt ( float x, float y ) : AxisAlignedRectangle
x float
y float
return AxisAlignedRectangle

RemoveCollisionAtWorld() public method

public RemoveCollisionAtWorld ( float x, float y ) : void
x float
y float
return void

RemoveFromManagers() public method

public RemoveFromManagers ( ) : void
return void

TileShapeCollection() public method

public TileShapeCollection ( ) : FlatRedBall.Math
return FlatRedBall.Math

TileShapeCollection() public method

public TileShapeCollection ( ) : GlueTestProject.DataTypes
return GlueTestProject.DataTypes