2014-05-02 21:31:20 +02:00
|
|
|
/*******************************************************************************
|
2014-08-07 08:29:25 +02:00
|
|
|
* Copyright (c) 2011-2014 SirSengir.
|
|
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
|
* are made available under the terms of the GNU Lesser Public License v3
|
|
|
|
|
* which accompanies this distribution, and is available at
|
2014-08-07 02:56:58 -07:00
|
|
|
* http://www.gnu.org/licenses/lgpl-3.0.txt
|
2014-05-02 21:31:20 +02:00
|
|
|
*
|
2014-08-07 08:29:25 +02:00
|
|
|
* Various Contributors including, but not limited to:
|
|
|
|
|
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
|
2014-05-02 21:31:20 +02:00
|
|
|
******************************************************************************/
|
|
|
|
|
package forestry.farming;
|
|
|
|
|
|
|
|
|
|
import forestry.api.core.IStructureLogic;
|
|
|
|
|
import forestry.api.farming.IFarmComponent;
|
|
|
|
|
import forestry.api.farming.IFarmInterface;
|
|
|
|
|
import forestry.farming.gadgets.StructureLogicFarm;
|
|
|
|
|
|
|
|
|
|
public class FarmHelper implements IFarmInterface {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public IStructureLogic createFarmStructureLogic(IFarmComponent structure) {
|
|
|
|
|
return new StructureLogicFarm(structure);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|