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) {
		// ok do nothing, in future obj will be moved here to default space specially created for it
	}
}