StateDistinguisher class | parser.t[1609]

The class for state distinguishers. A state distinguisher tells objects apart based on their having distinct current values for a given state. During preinit, we create a separate instance of this for each State object in the game.

`class StateDistinguisher : Distinguisher`

Superclass Tree (in declaration order)

`StateDistinguisher`
`Distinguisher`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`sortOrder state stateList`

Inherited from `Distinguisher` :
`all classInitFirst disambiguating`

Summary of Methods

`appliesTo classInit construct equal`

Inherited from `Distinguisher` :
`apply getNames`

Properties

`sortOrder` OVERRIDDEN | `parser.t[1610]`

no description available

`state` | `parser.t[1632]`

the State this distinguisher tests

`stateList` | `parser.t[1635]`

class property: the list of state distinguisher instances

Methods

`appliesTo (obj)`OVERRIDDEN | `parser.t[1616]`

we only apply to objects that have our state variable

`classInit ( )`OVERRIDDEN | `parser.t[1626]`

during preinit, build an instance for each State

`construct (st)` | `parser.t[1619]`

build from a State

`equal (a, b)`OVERRIDDEN | `parser.t[1613]`

we distinguish based on each object's current value for the state

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2