Table of Contents

Namespace ElectricDrill.AstraHealth.Experience

Classes

ExpCollectionStrategySO

Abstract base class for experience collection strategies. Implements the Template Method pattern to define when and how experience should be collected. Derive from this class to create custom experience collection logic.

ExpCollector

Collects experience when this entity contributes to enemy kills. Subscribes automatically to the global EntityDiedGameEvent configured in IAstraHealthConfig, so no manual event wiring is required. Uses a configurable ExpCollectionStrategySO to determine when and how experience is collected. If no custom strategy is assigned, falls back to the default strategy from IAstraHealthConfig.