public override bool evaluate(GameState state) { return(left.evaluate(state) < right.evaluate(state)); }
public override IEnumerator execute(ExecutionContext context) { context.setNumber(name, value.evaluate(context.getGameState())); return(null); }
public override double evaluate(GameState state) { return(-ofValue.evaluate(state)); }
public override double evaluate(GameState state) { return(left.evaluate(state) + right.evaluate(state)); }