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
Methods
ResetState()
Resets the state to default values
void ResetState()
UpdateState(IRuntimeState)
Updates the state with validation
bool UpdateState(IRuntimeState newState)
Parameters
newStateIRuntimeStateThe new state to apply
Returns
- bool
True if state was updated successfully