package li.cil.oc.api.event; | |
import cpw.mods.fml.common.eventhandler.Event; | |
import li.cil.oc.api.machine.Robot; | |
/** | |
* Base class for events generated by robots. | |
*/ | |
public abstract class RobotEvent extends Event { | |
/** | |
* The robot for which this event was fired. | |
*/ | |
public final Robot robot; | |
protected RobotEvent(Robot robot) { | |
this.robot = robot; | |
} | |
} |