Table of Contents

Interface IStateComponent

Namespace
MoonBark.GridPlacement.Core.Interfaces
Assembly
MoonBark.GridPlacement.Core.dll

Interface for state management components. Provides access to state data and state change notifications.

public interface IStateComponent : IGridPlacementComponent
Inherited Members

Properties

State

Gets the current state data

IRuntimeState State { get; }

Property Value

IRuntimeState

Methods

ResetState()

Resets the state to default values

void ResetState()

UpdateState(IRuntimeState)

Updates the state with validation

bool UpdateState(IRuntimeState newState)

Parameters

newState IRuntimeState

The new state to apply

Returns

bool

True if state was updated successfully