Code: Select all
import java.util.*;
/**
* class name: FixIt
* @author TheRileyDuo
* @version 1.0 FINAL
* @description This class FIXES IT
*/
public class FixIt{
private boolean isItFixed?;
private static float volumeLevel;
public FixIt(){
isItFixed?=false;
volumeLevel=0;
Fixed?();
}
public void Fixed?(){
if(isItFixed?)
volumeLevel=0;
else
FIXIT!();
}
public void FIXIT!(){
Random rand=new Random();
//Insert fixings right here. Minor bug. Fix it later.
volumeLevel+=rand.nextFloat();
Fixed?();
}
}
Not the best javadocing ever done, but I think it gets the idea across. BTW, watch the SNL weekend update for another inside joke.