Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public Collides ( List |
||
collisionGroup | List |
|
Результат | int |
public CollidesWithPhysicalEntity ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
Результат | bool |
public CollidesWithTile ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
Результат | bool |
public static CollidingCouples ( List |
||
physicalEntities | List |
|
Результат | IPhysicalEntity>>.List |
public CollisionChecker ( IAtlas atlas ) : System | ||
atlas | IAtlas | |
Результат | System |
public NumberOfCollidingCouples ( List |
||
physicalEntities | List |
|
Результат | int |