AbstractState

abstract class AbstractState: State, Any

Base class for all States refactoring common behaviour

Fields

Name Description
open hasBehaved: Boolean

A flag signaling if this State.behave has been called

open solve: Solve

The Solve.Request or Solve.Response that this state carries with it

Constructors

<init>

constructor(solve: Solve)

Base class for all States refactoring common behaviour

Parameters

Name Description
solve: Solve