wyvern.lib
Interface Visitor
- All Known Implementing Classes:
- DestroyArmor, Frame, GroundViewer, Identify, MapObjectSorter, MonsterImpl.WalkVisitor, Mountains, Spell.DamageVisitor, Stoner, TopFinder.LayerVisitor
- public interface Visitor
Allows you to visit an object without knowing the underlying
data structure details. Used by GameMaps, Bags and other
containers to let you traverse a set of objects and perform
some operation on them.
- Version:
- 1.0, Sep 09, 1997
- Author:
- Steve Yegge
Method Summary |
void |
visit(GameObject obj)
Visits an object and (optionally) perform an operation on it. |
visit
public void visit(GameObject obj)
- Visits an object and (optionally) perform an operation on it.