void Start() { pfm = MasterController.BRAIN.pm(); EquationGenerator eq = new EquationGenerator(pfm.get_operations(),pfm.get_eqFormat()); equation = eq.Equation(); answer = eq.answer(); operation = eq.eqOperation(); }
void createEquation() { EquationGenerator eg = new EquationGenerator(EquationGenerator.ADDITION | EquationGenerator.SUBTRACTION | EquationGenerator.MULTIPLICATION | EquationGenerator.DIVISION, EquationGenerator.MIXED ); equation.text = eg.Equation(); answer = eg.answer(); }