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

21 lines
315 B
Java
Raw Normal View History

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