Skip to main content

Interface: E_Motion

Hierarchy#

Properties#

h#

• h: number

Inherited from#

E_2D.h

Defined in#

freerunner.ts:155


vx#

• vx: number

Defined in#

freerunner.ts:160


vy#

• vy: number

Defined in#

freerunner.ts:161


w#

• w: number

Inherited from#

E_2D.w

Defined in#

freerunner.ts:156


x#

• x: number

Inherited from#

E_2D.x

Defined in#

freerunner.ts:153


y#

• y: number

Inherited from#

E_2D.y

Defined in#

freerunner.ts:154

Methods#

addComponent#

â–¸ addComponent(componentName): E_Motion

Parameters#

NameType
componentNamestring

Returns#

E_Motion

Inherited from#

E_2D.addComponent

Defined in#

freerunner.ts:147


attr#

â–¸ attr(attributes): E_Motion

Parameters#

NameType
attributesany

Returns#

E_Motion

Inherited from#

E_2D.attr

Defined in#

freerunner.ts:146


bind#

â–¸ bind(event, fn): E_Motion

Parameters#

NameType
eventstring
fnany

Returns#

E_Motion

Inherited from#

E_2D.bind

Defined in#

freerunner.ts:148