Свойство | Тип | Описание | |
---|---|---|---|
K_ZERO_OFFSET | Point |
Метод | Описание | |
---|---|---|
checkProjectileCollisions ( ) : void | ||
collisionWithInteractableAtRelative ( IInteractable p_interactable, Point p_offset, IInteractable p_exclude ) : IInteractable |
Returns an interactable in the current world's scene that p_interactable collides with if its position were changed. if p_interactable is colliding with p_exclude, that collision doesn't count (i.e. it doesn't make sense to check whether something is colliding with itself)
|
|
collisionWithObjectAtRelative ( IInteractable p_interactable, Point p_offset, String p_layer ) : |
||
collisionWithObjectAtRelative ( |
||
collisionWithSolid ( IInteractable p_sprite ) : bool |
Returns whether the specified sprite is currently colliding with a solid object
|
|
collisionWithSolidAtRelative ( IInteractable p_sprite, Point p_offset ) : bool |
Returns whether the specified sprite collides with a solid object if its position were changed
|
|
collisionWithTeleport ( IInteractable p_sprite ) : |
Returns whether the specified sprite is currently colliding with a teleport zone
|
|
collisionWithTeleportAtRelative ( IInteractable p_sprite, Point p_offset ) : |
Returns whether the specified sprite collides with a teleport zone if its position were changed
|
|
excludeInteractableCollision ( IInteractable p_exclude ) : void | ||
includeInteractableCollision ( IInteractable p_include ) : void | ||
resetInteractableCollisions ( ) : void | ||
setSpriteOutsideRectangle ( |
Sets the given Sprite one pixel off the closest side of the given Rectangle
|
public static checkProjectileCollisions ( ) : void | ||
Результат | void |
public static collisionWithInteractableAtRelative ( IInteractable p_interactable, Point p_offset, IInteractable p_exclude ) : IInteractable | ||
p_interactable | IInteractable | Interactable to check |
p_offset | Point | The proposed movement of the Interactable |
p_exclude | IInteractable | An interactable to exclude from collision checking |
Результат | IInteractable |
public static collisionWithObjectAtRelative ( IInteractable p_interactable, Point p_offset, String p_layer ) : |
||
p_interactable | IInteractable | |
p_offset | Point | |
p_layer | String | |
Результат |
public static collisionWithObjectAtRelative ( |
||
p_sprite | ||
p_offset | Point | |
Результат |
public static collisionWithSolid ( IInteractable p_sprite ) : bool | ||
p_sprite | IInteractable | |
Результат | bool |
public static collisionWithSolidAtRelative ( IInteractable p_sprite, Point p_offset ) : bool | ||
p_sprite | IInteractable | |
p_offset | Point | |
Результат | bool |
public static collisionWithTeleport ( IInteractable p_sprite ) : |
||
p_sprite | IInteractable | |
Результат |
public static collisionWithTeleportAtRelative ( IInteractable p_sprite, Point p_offset ) : |
||
p_sprite | IInteractable | |
p_offset | Point | |
Результат |
public static excludeInteractableCollision ( IInteractable p_exclude ) : void | ||
p_exclude | IInteractable | |
Результат | void |
public static includeInteractableCollision ( IInteractable p_include ) : void | ||
p_include | IInteractable | |
Результат | void |
public static resetInteractableCollisions ( ) : void | ||
Результат | void |
public static setSpriteOutsideRectangle ( |
||
sprite | ||
rect | ||
Результат | bool |