
macguyver2
By:
ace on
May 12th, 2010 | syntax:
None | size: 1.19 KB | hits: 20 | expires: Never
/**
* Write a description of class MacGuyver here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class MacGuyver
{
// instance variables - replace the example below with your own
/**
* Constructor for objects of class MacGuyver
*/
public MacGuyver()
{
// initialise instance variables
}
/**
* An example of a method - replace this comment with your own
*
* @param y a sample parameter for a method
* @return the sum of x and y
*/
public void getWrench()
{
// put your code here
Basement b = new Basement();
b.getWrench();
}
public void getFuzzyHandcuffs()
{
Bedroom br = new Bedroom();
br.getFuzzyHandcuffs();
}
public void getStickyback()
{
Study s = new Study();
s.getStickyback();
}
public void buildDevice()
{
EngineRoom e = new EngineRoom();
e.makeVeryCleverDevice(getWrench(), getFuzzyHandcuffs(), getStickyback());
}
}