TotalFreedomMod/src/main/java/me/totalfreedom/totalfreedommod/FreedomServiceHandler.java

26 lines
467 B
Java
Raw Normal View History

2020-07-01 01:51:06 +00:00
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();
}
}