StateDistinguisher class | parser.t[1571]

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`

Summary of Methods

`appliesTo classInit construct equal`

Inherited from `Distinguisher` :
`apply getNames`

Properties

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

no description available

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

the State this distinguisher tests

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

class property: the list of state distinguisher instances

Methods

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

we only apply to objects that have our state variable

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

during preinit, build an instance for each State

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

build from a State

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

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

Adv3Lite Library Reference Manual
Generated on 02/05/2024 from adv3Lite version 2.0