wyvern.lib.classes.magic
Class Spell.DamageVisitor

java.lang.Object
  extended bywyvern.lib.classes.magic.Spell.DamageVisitor
All Implemented Interfaces:
Visitor
Enclosing class:
Spell

protected class Spell.DamageVisitor
extends java.lang.Object
implements Visitor

Invokes callback function for damaging monsters.


Constructor Summary
protected Spell.DamageVisitor()
           
 
Method Summary
 void visit(GameObject obj)
          Visits an object and (optionally) perform an operation on it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Spell.DamageVisitor

protected Spell.DamageVisitor()
Method Detail

visit

public void visit(GameObject obj)
Description copied from interface: Visitor
Visits an object and (optionally) perform an operation on it.

Specified by:
visit in interface Visitor