/** * UFOInteractionHandler - Handles user click interactions with the UFO * * Manages click detection, determines reaction type based on proximity * and mood, and triggers appropriate responses. */ import type { IUFOInteractionHandler, UFOStateCallbacks, ClickResult } from "../contracts/IUFOInteractionHandler.js"; import type { UFO } from "../domain/ufo-types.js"; import type { IUFOMoodManager } from "../contracts/IUFOMoodManager.js"; export declare class UFOInteractionHandler implements IUFOInteractionHandler { handleDirectHit(ufo: UFO, isConsecutive: boolean, moodManager: IUFOMoodManager, callbacks: UFOStateCallbacks): ClickResult; handleNearMiss(ufo: UFO, clickX: number, clickY: number, moodManager: IUFOMoodManager): ClickResult; handleFarClick(ufo: UFO, clickX: number, clickY: number, moodManager: IUFOMoodManager): ClickResult; angleDiff(from: number, to: number): number; /** * Curious reaction to first click - wobble and become playful */ private reactCuriously; /** * Playful reaction - happy spin */ private reactPlayfully; /** * Flee reaction - panic exit */ private reactFlee; } //# sourceMappingURL=UFOInteractionHandler.d.ts.map