Skip to main content

Shooter2DSourceEntity

@zylem/game-lib


@zylem/game-lib / behavior / Shooter2DSourceEntity

Interface: Shooter2DSourceEntity

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/shooter-2d.d.ts:45

Properties​

_rotation2DAngle?​

optional _rotation2DAngle?: 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/shooter-2d.d.ts:66


body?​

optional body?: \{ rotation?: () => object; translation: \{ x: number; y: number; z: number; \}; \} | null

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/shooter-2d.d.ts:46


options?​

optional options?: object

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/shooter-2d.d.ts:59

position?​

optional position?: Vec3Input


shooter2dState?​

optional shooter2dState?: Shooter2DStateComponent

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/shooter-2d.d.ts:65


topDownMovementState?​

optional topDownMovementState?: object

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/shooter-2d.d.ts:62

facingAngle​

facingAngle: number