ZPOBFSC546WZAIESXRIHZ2YILYBNNA2UOM7SOOHWPCOR6XJ4XG6QC const activeIntent = props.gameState.intent.activeIntent;let deltaX = 0;let deltaY = 0;const unit = 5;if (activeIntent[IntentName.PAN_DOWN]) deltaY += -unit;if (activeIntent[IntentName.PAN_LEFT]) deltaX += unit;if (activeIntent[IntentName.PAN_RIGHT]) deltaX += -unit;if (activeIntent[IntentName.PAN_UP]) deltaY += unit;if (deltaX) this.actionStage.x += deltaX;if (deltaY) this.actionStage.y += deltaY;
const activeIntent = props.gameState.intent.activeIntent;let deltaX = 0;let deltaY = 0;const unit = 5;if (activeIntent[IntentName.PAN_DOWN]) deltaY += -unit;if (activeIntent[IntentName.PAN_LEFT]) deltaX += unit;if (activeIntent[IntentName.PAN_RIGHT]) deltaX += -unit;if (activeIntent[IntentName.PAN_UP]) deltaY += unit;if (deltaX) this.actionStage.x += deltaX;if (deltaY) this.actionStage.y += deltaY;