1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 12:15:50 +00:00
Slimefun4/src/me/mrCookieSlime/Slimefun/Objects/Charge.java

22 lines
339 B
Java
Raw Normal View History

2016-04-14 16:24:03 +00:00
package me.mrCookieSlime.Slimefun.Objects;
public class Charge {
2019-08-25 20:21:06 +00:00
private double charge;
private double capacity;
2016-04-14 16:24:03 +00:00
public Charge(double charge, double capacity) {
this.charge = charge;
this.capacity = capacity;
}
public double getStoredEnergy() {
return charge;
}
public double getCapacity() {
return capacity;
}
}