TotalFreedomMod/src/main/java/me/totalfreedom/totalfreedommod/FreedomServiceHandler.java
2020-06-30 21:51:06 -04:00

26 lines
467 B
Java

package me.totalfreedom.totalfreedommod;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
public class FreedomServiceHandler
{
@Getter
private List<FreedomService> services;
public FreedomServiceHandler()
{
this.services = new ArrayList<>();
}
public void add(FreedomService service)
{
services.add(service);
}
public int getServiceAmount()
{
return services.size();
}
}