Files
dota_factory/src/lib/ecs/system/RepairSystem.h
2026-06-15 09:16:56 +02:00

18 lines
398 B
C++

#pragma once
class EntityAdmin;
// World-mutation system for repair modules: validates each tool's target (set by
// RepairExecutor), falls back to the nearest damaged friendly in range, and
// applies healing. Runs every tick, independent of behavior selection.
class RepairSystem
{
public:
explicit RepairSystem(EntityAdmin& admin);
void tick();
private:
EntityAdmin& m_admin;
};