Class VehiclePublic

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

public class VehiclePublic extends MTVSubCommand
/vehicle public - set the vehicle as public (anyone can enter it).
  • Constructor Details

    • VehiclePublic

      public VehiclePublic()
  • 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