Home | Trees | Index | Help |
---|
|
object
--+
|
AttackType
MeleeAttack
,
ProjectileAttack
fire()
method, that performs the attack
action itself.
Method Summary | |
---|---|
__init__(self,
animation,
delay,
cooldown,
mana_cost)
| |
Perform the actual attack action. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Instance Variable Summary | |
---|---|
animation : The base name of the animation that the agent's sprite should display
when using this attack. | |
cooldown : The minimum amount of time that can elapse between using this attack
and starting the next attack. | |
delay : The amount of time that the agent should wait after it starts playing
the animation before performing the attack action with
fire . |
Method Details |
---|
__init__(self,
animation=None,
delay=0,
cooldown=0,
mana_cost=0)
|
fire(self, attacker, **attack_args)Perform the actual attack action. This method does not perform any animations or start the agent's cooldown timer.
|
Instance Variable Details |
---|
delayThe amount of time that the agent should wait after it starts playing the animation before performing the attack action withfire .
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Sep 22 22:52:45 2005 | http://epydoc.sf.net |