Public Member Functions | |
def | __init__ |
def | __repr__ |
def | __str__ |
def | matches_condition |
Private Member Functions | |
def | _is_reachable |
Private Attributes | |
_condition |
This variable effect can by default reach every value and therefore matches every worldstate. To make an effect reach not every possible value of its condition, subclass and override _is_reachable.
def rgoap.common.VariableEffect.__init__ | ( | self, | |
condition | |||
) |
def rgoap.common.VariableEffect.__repr__ | ( | self | ) |
def rgoap.common.VariableEffect.__str__ | ( | self | ) |
def rgoap.common.VariableEffect._is_reachable | ( | self, | |
value, | |||
start_value | |||
) | [private] |
def rgoap.common.VariableEffect.matches_condition | ( | self, | |
worldstate, | |||
start_worldstate | |||
) |
rgoap::common.VariableEffect::_condition [private] |