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 {
private double energy;
2019-08-25 20:21:06 +00:00
private double capacity;
2016-04-14 16:24:03 +00:00
public Charge(double energy, double capacity) {
this.energy = energy;
2016-04-14 16:24:03 +00:00
this.capacity = capacity;
}
public double getStoredEnergy() {
return energy;
2016-04-14 16:24:03 +00:00
}
public double getCapacity() {
return capacity;
}
}