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

Type TargetInMeleeRange

object --+    
         |    
 Condition --+
             |
            TargetInMeleeRange


True if the target is currently in range of the agent's given melee attack.
Method Summary
  __init__(self, agent, target, attack_type)
  check(self, level)
Return true or false! This should be pretty fast, since it will be checked on *every* frame!
    Inherited from Condition
  __repr__(self)
    Inherited from object
  __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

__init__(self, agent, target, attack_type)
(Constructor)

Overrides:
__builtin__.object.__init__

check(self, level)

Return true or false! This should be pretty fast, since it will be checked on *every* frame!
Overrides:
pajammin.ai.script.script.Condition.check (inherited documentation)