Home Reference Source
public class | source

Collidable

Extends:

shared/AbstractPlugin~AbstractPlugin → Collidable

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

Method Summary

Public Methods
public

attach()

public

detach()

Private Methods
private
private

_onDragMove(event: *)

private

_onDragStop(event: *)

private

_onRequestAnimationFrame(target: *): *

Public Constructors

public constructor() source

Public Members

public currentAnimationFrame: * source

public currentlyCollidingElement: * source

public lastCollidingElement: * source

Public Methods

public attach() source

public detach() source

Private Methods

private _getCollidables(): *[] source

Return:

*[]

private _onDragMove(event: *) source

Params:

NameTypeAttributeDescription
event *

private _onDragStop(event: *) source

Params:

NameTypeAttributeDescription
event *

private _onRequestAnimationFrame(target: *): * source

Params:

NameTypeAttributeDescription
target *

Return:

*