// Path: src/main/java/cn/academy/energy/api/block/IWirelessNode.java
// public interface IWirelessNode extends IWirelessTile {
// 
//     double getMaxEnergy();
// 
//     double getEnergy();
// 
//     void setEnergy(double value);
// 
//     /**
//      * @return How many energy that this node can transfer each tick.
//      */
//     double getBandwidth();
// 
//     int getCapacity();
// 
//     /**
//      * @return How far this node's signal can reach.
//      */
//     double getRange();
// 
//     /**
//      * @return the user custom name of the node
//      */
//     String getNodeName();
// 
// }
// 
// Path: src/main/java/cn/academy/energy/api/block/IWirelessTile.java
// public interface IWirelessTile {
// 
// }
// 
// Path: src/main/java/cn/academy/energy/api/event/WirelessEvent.java
// public class WirelessEvent extends Event {
// 
//     public final IWirelessTile tile;
// 
//     public WirelessEvent(IWirelessTile _tile) {
//         tile = _tile;
//     }
// 
//     public TileEntity getTileEntity() {
//         return (TileEntity) tile;
//     }
// 
//     public World getWorld() {
//         return getTileEntity().getWorld();
//     }
// 
// }


import cn.academy.energy.api.event.WirelessEvent;
import cn.academy.energy.api.block.IWirelessNode;
import cn.academy.energy.api.block.IWirelessTile;
/**
 * Copyright (c) Lambda Innovation, 2013-2015
 * 本作品版权由Lambda Innovation所有。
 * http://www.li-dev.cn/
 * <p/>
 * This project is open-source, and it is distributed under
 * the terms of GNU General Public License. You can modify
 * and distribute freely as long as you follow the license.
 * 本项目是一个开源项目，且遵循GNU通用公共授权协议。
 * 在遵照该协议的情况下，您可以自由传播和修改。
 * http://www.gnu.org/licenses/gpl.html
 */
package cn.academy.energy.api.event.wen;


/**
 * Fired when a node is to be unlinked.
 * @author WeathFolD
 */
public class UnlinkNodeEvent extends WirelessEvent {

    public final IWirelessNode node;

// Path: src/main/java/cn/academy/energy/api/block/IWirelessNode.java
// public interface IWirelessNode extends IWirelessTile {
// 
//     double getMaxEnergy();
// 
//     double getEnergy();
// 
//     void setEnergy(double value);
// 
//     /**
//      * @return How many energy that this node can transfer each tick.
//      */
//     double getBandwidth();
// 
//     int getCapacity();
// 
//     /**
//      * @return How far this node's signal can reach.
//      */
//     double getRange();
// 
//     /**
//      * @return the user custom name of the node
//      */
//     String getNodeName();
// 
// }
// 
// Path: src/main/java/cn/academy/energy/api/block/IWirelessTile.java
// public interface IWirelessTile {
// 
// }
// 
// Path: src/main/java/cn/academy/energy/api/event/WirelessEvent.java
// public class WirelessEvent extends Event {
// 
//     public final IWirelessTile tile;
// 
//     public WirelessEvent(IWirelessTile _tile) {
//         tile = _tile;
//     }
// 
//     public TileEntity getTileEntity() {
//         return (TileEntity) tile;
//     }
// 
//     public World getWorld() {
//         return getTileEntity().getWorld();
//     }
// 
// }


// Path: src/main/java/cn/academy/energy/api/event/wen/UnlinkNodeEvent.java
import cn.academy.energy.api.event.WirelessEvent;
import cn.academy.energy.api.block.IWirelessNode;
import cn.academy.energy.api.block.IWirelessTile;

/**
 * Copyright (c) Lambda Innovation, 2013-2015
 * 本作品版权由Lambda Innovation所有。
 * http://www.li-dev.cn/
 * <p/>
 * This project is open-source, and it is distributed under
 * the terms of GNU General Public License. You can modify
 * and distribute freely as long as you follow the license.
 * 本项目是一个开源项目，且遵循GNU通用公共授权协议。
 * 在遵照该协议的情况下，您可以自由传播和修改。
 * http://www.gnu.org/licenses/gpl.html
 */
package cn.academy.energy.api.event.wen;


/**
 * Fired when a node is to be unlinked.
 * @author WeathFolD
 */
public class UnlinkNodeEvent extends WirelessEvent {

    public final IWirelessNode node;

    public UnlinkNodeEvent(IWirelessTile _node) {