C# Class RTSEngine.Data.CollisionController

Show file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
CollideHeightmap ( ICollidable o, CollisionGrid map ) : void
ProcessCollision ( ICollidable o1, ICollidable o2 ) : void

Private Methods

Method Description
HandleCollision ( CollisionCircle circle1, CollisionCircle circle2 ) : void
HandleCollision ( CollisionCircle circle, CollisionRect rect ) : void
HandleCollision ( CollisionRect rect1, CollisionRect rect2 ) : void

Method Details

CollideHeightmap() public static method

public static CollideHeightmap ( ICollidable o, CollisionGrid map ) : void
o ICollidable
map CollisionGrid
return void

ProcessCollision() public static method

public static ProcessCollision ( ICollidable o1, ICollidable o2 ) : void
o1 ICollidable
o2 ICollidable
return void