Method | Description | |
---|---|---|
DivideTerm ( ITerm term1, ITerm term2 ) : System |
Constructor. Takes the two terms to divide.
|
|
GetResult ( IEnhancedRandom rng ) : int |
Divides the first term by the second, evaluating those two terms as necessary.
|
|
ToString ( ) : string |
Returns a parenthesized string representing the operation.
|
public DivideTerm ( ITerm term1, ITerm term2 ) : System | ||
term1 | ITerm | The first term (left-hand side). |
term2 | ITerm | The second term (right-hand side). |
return | System |
public GetResult ( IEnhancedRandom rng ) : int | ||
rng | IEnhancedRandom | The rng to used -- passed to other terms. |
return | int |