Skip to main content

Shooter2DBehaviorOptions

@zylem/game-lib


@zylem/game-lib / behavior / Shooter2DBehaviorOptions

Interface: Shooter2DBehaviorOptions

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:38

Properties​

cooldownMs?​

optional cooldownMs?: 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:41


projectileFactory​

projectileFactory: Shooter2DProjectileFactory

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:39


projectileSpeed​

projectileSpeed: 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:40


rotateProjectile?​

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


spawnOffset?​

optional spawnOffset?: Shooter2DTarget

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:42