mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 19:55:48 +00:00
21 lines
315 B
Java
21 lines
315 B
Java
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;
|
|
}
|
|
|
|
}
|