메소드 |
설명 |
|
Collide ( CircleCollisionShape s1, CircleCollisionShape s2 ) : bool |
|
|
Collide ( CircleCollisionShape s1, CompoundCollisionShape s2 ) : bool |
|
|
Collide ( CompoundCollisionShape s1, CompoundCollisionShape s2 ) : bool |
|
|
Collide ( ICollisionShape s1, ICollisionShape s2 ) : bool |
|
|
Collide ( RectangleCollisionShape s1, CircleCollisionShape s2 ) : bool |
|
|
Collide ( RectangleCollisionShape s1, CompoundCollisionShape s2 ) : bool |
|
|
Collide ( RectangleCollisionShape s1, RectangleCollisionShape s2 ) : bool |
|
|
IsAccessible ( Rectangle rect, bool testTiles, Entity source = null ) : bool |
Check whether a rectangle is accessible or not. |
|
OffsetRectangle ( Rectangle rect, Vector2 offset ) : Rectangle |
Offset a rectangle by a given vector using the ceiling of the absolute vector values. The original rectangle is not modified, since the rect is passed by value. |
|
TryMove ( Entity source, Vector2 moveVector, bool slide = true ) : Vector2 |
Tries to move an entity by a given move vector. Calls Entity.Collide functions of both the source and the entities it collides with along the way. The resulting move vector needs to be applied manually by the calling function! |
|