1.7 KiB
1.7 KiB
E1.M3 — InteractionAndTargetingLayer
Summary
| Field | Value |
|---|---|
| Module ID | E1.M3 |
| Epic | Epic 1 — Core Player Runtime |
| Stage target | Prototype |
| Status | Planned (see dependency register) |
Purpose
World object selection, target lock, focus swap rules, and hover/highlight feedback. Bridges movement/position (E1.M1) into combat, gathering, and ability activation (E1.M4, E5.M1).
Responsibilities
- Resolve
TargetStatefor tab-target and interaction flows. - Describe interactables via
InteractableDescriptorand emitSelectionEventfor UI and systems.
Key contracts
| Contract | Role |
|---|---|
TargetState |
Current locked target, validity, and swap rules. |
InteractableDescriptor |
What can be selected or used in range. |
SelectionEvent |
Selection changes for feedback and downstream consumers. |
Module dependencies
- E1.M1 — InputAndMovementRuntime: range and position source of truth.
Dependents (by design)
- E1.M4 — AbilityInputScaffold.
- E3.M1 — ResourceNodeAndGatherLoop.
- E5.M1 — CombatRulesEngine.
- E8.M1 — PartyAndMatchAssembly (player/party context hooks per epic).
Related implementation slices
Epic 1 Slice 3 — interaction, targeting, and ability input wiring with E5.M1.
Source anchors
- Master plan:
neon_sprawl_vision.plan.md— Epic 1. - Module dependency register