gdxapp4d/lib-imxmi/src/main/love/distributedrebirth/imxmi/lang/AbstractImComponentSetˣᴹᴵ.java

28 lines
697 B
Java
Raw Normal View History

2022-02-07 14:30:07 +00:00
package love.distributedrebirth.imxmi.lang;
import java.util.ArrayList;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
abstract public class AbstractImComponentSetˣᴹᴵ implements ImComponentSetˣᴹᴵ {
protected List<ImComponentˣᴹᴵ> components = new ArrayList<>();
@Override
public void addComponent(ImComponentˣᴹᴵ comp) {
components.add(comp);
}
@Override
public void removeComponent(ImComponentˣᴹᴵ comp) {
components.remove(comp);
}
@Override
public List<ImComponentˣᴹᴵ> getComponents() {
return components;
}
}