iLand
|
#include <bitecellscript.h>
Public Member Functions | |
Constraints () | |
~Constraints () | |
void | setup (QJSValue &js_value, DynamicExpression::EWrapperType wrap, BiteAgent *agent) |
setup from javascript More... | |
double | evaluate (BiteCell *cell) |
run the constraints More... | |
double | evaluate (ABE::FMTreeList *treelist) |
run for trees More... | |
double | evaluate (ABE::FMSaplingList *saplinglist) |
run for saplings More... | |
bool | isConst () |
return true if no dynamic evaluation happens More... | |
QStringList | dump () |
prints some debug info More... | |
|
inline |
BITE::Constraints::~Constraints | ( | ) |
QStringList BITE::Constraints::dump | ( | ) |
prints some debug info
double BITE::Constraints::evaluate | ( | ABE::FMSaplingList * | saplinglist | ) |
run for saplings
double BITE::Constraints::evaluate | ( | ABE::FMTreeList * | treelist | ) |
run for trees
double BITE::Constraints::evaluate | ( | BiteCell * | cell | ) |
run the constraints
bool BITE::Constraints::isConst | ( | ) |
return true if no dynamic evaluation happens
void BITE::Constraints::setup | ( | QJSValue & | js_value, |
DynamicExpression::EWrapperType | wrap, | ||
BiteAgent * | agent | ||
) |
setup from javascript