2022-02-21 00:41:24 +01:00
|
|
|
package love.distributedrebirth.unicode4d.atlas;
|
|
|
|
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
2022-10-30 23:14:53 +01:00
|
|
|
import ᴶᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
2022-02-21 00:41:24 +01:00
|
|
|
|
2022-10-30 16:59:24 +01:00
|
|
|
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
2022-02-21 00:41:24 +01:00
|
|
|
public class FontAtlas {
|
|
|
|
|
|
|
|
|
|
private Map<String, FontAtlasStore> stores = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
public FontAtlas() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public FontAtlasStore getStoreByName(String name) {
|
|
|
|
|
return stores.get(name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Collection<FontAtlasStore> getStores() {
|
|
|
|
|
return stores.values();
|
|
|
|
|
}
|
|
|
|
|
|
2022-03-12 20:59:21 +01:00
|
|
|
public void setStores(Collection<FontAtlasStore> planes) {
|
2022-02-21 00:41:24 +01:00
|
|
|
for (FontAtlasStore plane:planes) {
|
|
|
|
|
addStore(plane);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void addStore(FontAtlasStore plane) {
|
|
|
|
|
this.stores.put(plane.getName(), plane);
|
|
|
|
|
}
|
|
|
|
|
}
|