Table of Contents

Interface IIndicatorService

Namespace
MoonBark.GridPlacement.Core.Services.Placement
Assembly
MoonBark.GridPlacement.Core.dll

Service interface for indicator management.

This service handles the creation and management of visual indicators that show placement validity and other feedback to the user.

public interface IIndicatorService

Properties

IsReady

Gets whether the indicator service is ready for operations.

bool IsReady { get; }

Property Value

bool

Methods

ClearIndicators()

Clears all active indicators.

void ClearIndicators()

CreateIndicatorModel(PreviewModel, PlacementReport)

Creates an indicator model based on the preview model and placement report.

IndicatorModel CreateIndicatorModel(PreviewModel previewModel, PlacementReport report)

Parameters

previewModel PreviewModel

The preview model containing placement data.

report PlacementReport

The placement report containing validation results.

Returns

IndicatorModel

An indicator model with visual feedback data.

UpdateIndicatorModel(IndicatorModel, PreviewModel, PlacementReport)

Updates existing indicators with new data.

void UpdateIndicatorModel(IndicatorModel indicatorModel, PreviewModel previewModel, PlacementReport report)

Parameters

indicatorModel IndicatorModel

The indicator model to update.

previewModel PreviewModel

The updated preview model.

report PlacementReport

The updated placement report.