Skip to main content

JumpContext2D

@zylem/game-lib


@zylem/game-lib / behavior / JumpContext2D

Interface: JumpContext2D

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-2d.d.ts:29

Properties​

dt​

dt: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-2d.d.ts:30


isGrounded​

isGrounded: boolean

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-2d.d.ts:32


timeSinceGroundedMs​

timeSinceGroundedMs: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-2d.d.ts:33


velocityY​

velocityY: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-2d.d.ts:31

Methods​

setVerticalVelocity()​

setVerticalVelocity(y): void

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-2d.d.ts:34

Parameters​

y​

number

Returns​

void