Method | Description | |
---|---|---|
Collides ( IPhysicalEntity physicalEntity ) : bool | ||
Collides ( List |
||
CollidesWithPhysicalEntity ( IPhysicalEntity physicalEntity ) : bool | ||
CollidesWithTile ( IPhysicalEntity physicalEntity ) : bool | ||
CollidingCouples ( List |
||
CollisionChecker ( IAtlas atlas ) : System | ||
CollisionGroups ( ) : List
|
Search for all objects that are or can be in collision with each other. Must be called when step was already performed, so collisions are already there. If there is no collision, returns empty list.
|
|
NumberOfCollidingCouples ( List |
public Collides ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
return | bool |
public Collides ( List |
||
collisionGroup | List |
|
return | int |
public CollidesWithPhysicalEntity ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
return | bool |
public CollidesWithTile ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
return | bool |
public static CollidingCouples ( List |
||
physicalEntities | List |
|
return | IPhysicalEntity>>.List |
public CollisionChecker ( IAtlas atlas ) : System | ||
atlas | IAtlas | |
return | System |
public NumberOfCollidingCouples ( List |
||
physicalEntities | List |
|
return | int |