LocatedFactory.java

codebase/src/net/sourceforge/pain/logic/fn/factory/LocatedFactory.java · 572 B

From the archive pain_0_44.tgz

Download the archive   « Back to the archive contents

package net.sourceforge.pain.logic.fn.factory;

import net.sourceforge.pain.data.prototype.*;
import net.sourceforge.pain.data.type.*;
import net.sourceforge.pain.logic.fn.*;
import net.sourceforge.pain.util.*;

/**
 * User: fmike * Date: Aug 23, 2003  * Time: 2:08:59 AM
 */
public final class LocatedFactory {

	public static void destroy(Located obj) {
        Space space = obj.getLocation();
		if (space!=null) {
			Log.debug("LocatedFactory.destroy");
			RelocateFn.removeFromSpace(obj);
		}
	}

	public static void init(LocatedPrototype proto, Located obj) {
	}

}

Site Stats

Snippets: 1791
Codebases: 571