EmberComposer.HeatPointCollectionHandler
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Heats one pickup's HeatPointCollection for an EmberComposer skill input.
Constructors
Fields
6 private and internal fields
| Member | What it is |
|---|
private HeatPoint closestHeatPoint | Heat point being heated. |
private HeatPointCollection collection | The pickup's heat point collection. |
private float energyPerSecond | Copied from the skill. |
private float targetTemperature | Copied from the skill. |
private IUnityUpdateMethod update | Handle of the per-frame energy update. |
private static UpdateModule updateModule | Shared "Ember Composer" update module. |
Properties
| Member | What it is |
|---|
IEnumerable<HeatPoint> HeatPoints { get; } | The pickup's heat points. |
ISkillInputMethod Input { get; } | The skill input this handler belongs to. |
Methods
| Member | What it is |
|---|
void Activate() | Finds the nearest heat point, starts adding energy each frame and makes all points ignore ambient temperature. |
void Deactivate() | Stops adding energy and lets the points follow ambient temperature again. |
void Deregister() | Unhooks from the pickup's interaction start. |
3 private and internal methods
| Member | What it is |
|---|
private void AddEnergy() | Adds energy to the nearest heat point, capped by the target, and resets the input once every point is hot enough. |
private void AssessClosestHeatPoint() | Picks the heat point nearest the first holding hand's grip. |
private void Reassess(Interactable arg1, Interactor arg2) | Re-picks the nearest heat point when the pickup is grabbed. |
Used in
Members of other types that take, return or hold a HeatPointCollectionHandler: