Class BetCommand

java.lang.Object
com.vikingcloud.horsetrack.command.BetCommand
All Implemented Interfaces:
Command

public class BetCommand extends Object implements Command
Implementation of the Bet Command which allows handling bets for a racehorse with a number and an amount.
  • Constructor Details

    • BetCommand

      public BetCommand(int horseNumber, int amount)
  • Method Details