com.acme.spextra

Class AddOns

public class AddOns extends Object

This class is the new class for add-ons to SuperProduct.
Constructor Summary
AddOns()
Default constructor.
Method Summary
booleanhyperdrive(int warpSpeed)
Switch SuperProduct to hyperdrive.

Constructor Detail

AddOns

public AddOns()
Default constructor.

Method Detail

hyperdrive

public boolean hyperdrive(int warpSpeed)
Switch SuperProduct to hyperdrive.

Parameters: warpSpeed How fast to go.

Returns: If successful, return true.