blob: ac906ef617fa8858057b2caac36720a0039e2ff6 [file] [log] [blame] [raw]
package li.cil.oc.api.event;
import li.cil.oc.api.internal.Agent;
/**
* Fired when a robot performed an action that would cause exhaustion for a
* player. Used for the experience upgrade, for example.
*/
public class RobotExhaustionEvent extends RobotEvent {
/**
* The amount of exhaustion that was generated.
*/
public final double exhaustion;
public RobotExhaustionEvent(Agent agent, double exhaustion) {
super(agent);
this.exhaustion = exhaustion;
}
}