commandIsRunning method

bool commandIsRunning(
  1. VoidCallback command
)

Returns a boolean indicating whether command is running.

This is different from commandIsScheduled, as it will only return true if the player has indicated a desire to run command next cycle.

Implementation

bool commandIsRunning(final VoidCallback command) =>
    _running[_getCommandIndex(command)];