wyvern.lib.spells.effects
Class Stoner

java.lang.Object
  extended bywyvern.lib.spells.effects.Stoner
All Implemented Interfaces:
Visitor

public class Stoner
extends java.lang.Object
implements Visitor

This cleverly-named class turns things to stone in its path

Author:
Steve Yegge

Constructor Summary
Stoner(int level, Commandable caster, Spell spell)
           
 
Method Summary
protected  boolean makesSavingThrow(GameObject obj)
           
protected  void petrifyMonster(Monster mon)
           
 void visit(GameObject obj)
          Potentially petrifies an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stoner

public Stoner(int level,
              Commandable caster,
              Spell spell)
Method Detail

visit

public void visit(GameObject obj)
Potentially petrifies an object.

Specified by:
visit in interface Visitor

petrifyMonster

protected void petrifyMonster(Monster mon)

makesSavingThrow

protected boolean makesSavingThrow(GameObject obj)