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