Constructs a new target mode with the given component filter. Only entities having the given component will be processed by this mode.
Draws the visualizer of the target mode, used for the building tooltip. This should show the range of influence
Should return the radius used for rendering the defense view, or null if no radius is available
Helper method to check if an entity is available as a target from the given source faction
Selects targets from the given source entity
Entities to exclude in the returned list
Allow to override the faction the damage will come from
Target entities
Base class for all target modes. A target mode selects entities using a given algorithm, e.g. closest within 3 tiles, same tile, etc.