| java.lang.Object com.acme.spextra.AddOns
AddOns | public class AddOns (Code) | | This class is the new class for add-ons to SuperProduct.
|
Constructor Summary | |
public | AddOns() Default constructor. |
Method Summary | |
public boolean | hyperdrive(int warpSpeed) Switch SuperProduct to hyperdrive.
Parameters: warpSpeed - How fast to go. |
AddOns | public AddOns()(Code) | | Default constructor.
|
hyperdrive | public boolean hyperdrive(int warpSpeed)(Code) | | Switch SuperProduct to hyperdrive.
Parameters: warpSpeed - How fast to go. If successful, return true. |
|
|