Package pajammin :: Package ai :: Package script :: Module script :: Class Condition
[show private | hide private]
[frames | no frames]

Type Condition

object --+
         |
        Condition

Known Subclasses:
TargetInMeleeRange, TargetWillBeInMeleeRange

A condition on the world that can be true or false.
Method Summary
  __repr__(self)
  check(self, level)
Return true or false! This should be pretty fast, since it will be checked on *every* frame!
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

__repr__(self)
(Representation operator)

Overrides:
__builtin__.object.__repr__

check(self, level)

Return true or false! This should be pretty fast, since it will be checked on *every* frame!