EffectSetCustomState class

Sets the custom state variable at index variable to value. You can set a number of variables equal to the size of your board, so on an 8x8 board, the highest variable is 63. value can be up to 8191, or 2^45 if you assume your code will never execute on a 32-bit vm.

Inheritance

Constructors

EffectSetCustomState(int variable, int value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final
variable int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited