ScoreTimerModule class

The ScoreTimerModule implements a continuous timer with a delay of a number of ticks. It therefore uses a Score to count up or down in steps and resets to the start value afterwards.

Inheritance

Constructors

ScoreTimerModule(String name, {Widget? child, Entity? selector, int steps = 1, String path = 'timers/', required Time ticks, int start = 0})
The ScoreTimerModule implements a continuous timer with a delay of a number of ticks. It therefore uses a Score to count up or down in steps and resets to the start value afterwards.

Properties

called bool
Contains the Information, if this RestAction is already called (and can't be called again)
getter/setter pairinherited
child Widget?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
path String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector Entity?
getter/setter pair
start int
getter/setter pair
steps int
getter/setter pair
ticks Time
getter/setter pair
writable List<Widget>?
The writable list the RestAction writes it's contents on
getter/setter pairinherited

Methods

generate(Context context) Widget
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queue([List<Widget>? writable]) → void
Execute this method to add this to the WidgetList (can use default list or as parameter given list) This method can only be executed once, if it is executed multiple times you will get an Error. You can read out if it is already executed in the boolean Called Example for a queue method:
inherited
registerFiles() List<File>
override
toMap() → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

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