Class AbstractRandomDecisionCommand

java.lang.Object
com.adventure.commands.AbstractCommand
com.adventure.commands.AbstractRandomDecisionCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
CmdAttack, CmdDodge, CmdUse

public abstract class AbstractRandomDecisionCommand extends AbstractCommand
  • Field Details

  • Constructor Details

    • AbstractRandomDecisionCommand

      public AbstractRandomDecisionCommand()
      Default constructor.
    • AbstractRandomDecisionCommand

      public AbstractRandomDecisionCommand(RandomCollection<Object> randomCollection)
      Constructor with random collection injection.
      Parameters:
      randomCollection - Random collection object.