CustomCommand class

Command to run a custom function on the world.

Inheritance

Constructors

CustomCommand(void action(World world))

Properties

action → void Function(World world)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(World world) → void
Executes this command on the world.
override
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