Added PlaceManager.applyToOccupants(), and a generic useful OccupantOp.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1869 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// $Id: OccupantOp.java,v 1.1 2002/10/31 01:12:08 shaper Exp $
|
||||
|
||||
package com.threerings.crowd.server;
|
||||
|
||||
import com.threerings.crowd.data.OccupantInfo;
|
||||
|
||||
/**
|
||||
* An operation to be applied to all occupants in a location that may
|
||||
* contain occupants, e.g., a {@link PlaceManager}.
|
||||
*/
|
||||
public interface OccupantOp
|
||||
{
|
||||
/**
|
||||
* Called with the occupant info for each occupant in the location.
|
||||
*/
|
||||
public void apply (OccupantInfo info);
|
||||
}
|
||||
Reference in New Issue
Block a user