![]() |
SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
Public Member Functions | |
exsanguinated_expr_t (action_t *a) | |
double | evaluate () override |
![]() | |
virtual const char * | name () const |
int | id () const |
double | eval () |
bool | success () |
bool | always_true () |
bool | always_false () |
virtual expr_t * | optimize (int=0) |
virtual bool | is_constant (double *) |
Public Attributes | |
action_t * | action |
![]() | |
expression::token_e | op_ |
Additional Inherited Members | |
![]() | |
static double | coerce (timespan_t t) |
template<typename T > | |
static double | coerce (T t) |
static expr_t * | parse (action_t *, const std::string &expr_str, bool optimize=false) |
template<class T > | |
static expr_t * | create_constant (const std::string &name, T value) |
![]() | |
expr_t (const std::string &name, expression::token_e op=expression::TOK_UNKNOWN) |