blob: a87e77e84a09bed63bba7fbe7db4d012ef341c47 [file] [log] [blame] [raw]
package universalelectricity.api.net;
import net.minecraftforge.common.ForgeDirection;
/**
* @author Calclavia
*
*/
public interface IConnectable
{
/**
* Can this object connect with another?
*
* @param from - The direction the connection is coming from.
* @param source - The source calling canConnect onto this object.
* @return Return true, if the connection is possible.
*/
public boolean canConnect(ForgeDirection from, Object source);
}