StrategyPanInput
@zylem/game-lib / core / StrategyPanInput
Interface: StrategyPanInput
Defined in: packages/game-lib/src/lib/camera/behaviors/strategy-pan.ts:17
What StrategyPanOptions.sampleInput returns each frame.
Properties
pan?
optionalpan?:object
Defined in: packages/game-lib/src/lib/camera/behaviors/strategy-pan.ts:20
Stick or arrow intent, −1..1. +x is screen right, +y is screen up.
x
x:
number
y
y:
number
pointer?
optionalpointer?:StrategyPointer
Defined in: packages/game-lib/src/lib/camera/behaviors/strategy-pan.ts:18