Class VehicleRefill

java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVSubCommand
nl.mtvehicles.core.commands.vehiclesubs.VehicleRefill

public class VehicleRefill extends MTVSubCommand
/vehicle refill - refill the held vehicle.
  • Constructor Details

    • VehicleRefill

      public VehicleRefill()
  • Method Details

    • execute

      public boolean execute()
      Description copied from class: MTVSubCommand
      Code executed by a subcommand
      Specified by:
      execute in class MTVSubCommand
      Returns:
      True if successful