public EquationGenerator(byte ops,int displayMode)
{
operations = new ArrayList();
operations.Clear();
this.displayMode = displayMode;
solution = (int)Random.Range(0,9);
equation = "";
if((ops & ADDITION) == ADDITION){
operations.Add("+");
}
if((ops & SUBTRACTION) == SUBTRACTION){
operations.Add("-");
}
if((ops & MULTIPLICATION) == MULTIPLICATION){
operations.Add("x");
}
if((ops & DIVISION) == DIVISION){
operations.Add("/");
}
}