메소드 | 설명 | |
---|---|---|
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 CollidesWithPhysicalEntity ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
리턴 | bool |
public CollidesWithTile ( IPhysicalEntity physicalEntity ) : bool | ||
physicalEntity | IPhysicalEntity | |
리턴 | bool |
public static CollidingCouples ( List |
||
physicalEntities | List |
|
리턴 | IPhysicalEntity>>.List |
public NumberOfCollidingCouples ( List |
||
physicalEntities | List |
|
리턴 | int |