StateDistinguisherclassparser.t[1565]

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  

sortOrderOVERRIDDENparser.t[1566]

no description available

stateparser.t[1588]
the State this distinguisher tests

stateListparser.t[1591]
class property: the list of state distinguisher instances

Methods  

appliesTo (obj)OVERRIDDENparser.t[1572]

we only apply to objects that have our state variable

classInit ( )OVERRIDDENparser.t[1582]
during preinit, build an instance for each State

construct (st)parser.t[1575]
build from a State

equal (a, b)OVERRIDDENparser.t[1569]
we distinguish based on each object's current value for the state

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2