Added zone adapter.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1934 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-11-12 19:53:35 +00:00
parent 58d728aa91
commit b0056f0f41
@@ -0,0 +1,33 @@
//
// $Id: ZoneAdapter.java,v 1.1 2002/11/12 19:53:35 shaper Exp $
package com.threerings.whirled.zone.client;
import com.threerings.whirled.zone.data.ZoneSummary;
/**
* The zone adapter makes life easier for a class that really only cares
* about one or two of the zone observer callbacks and doesn't want to
* provide empty implementations of the others. One can either extend zone
* adapter, or create an anonymous instance that overrides the desired
* callback(s).
*
* @see ZoneObserver
*/
public class ZoneAdapter implements ZoneObserver
{
// documentation inherited from interface
public void zoneWillChange (int zoneId)
{
}
// documentation inherited from interface
public void zoneDidChange (ZoneSummary summary)
{
}
// documentation inherited from interface
public void zoneChangeFailed (String reason)
{
}
}