First basic data in API object
This commit is contained in:
parent
f011ec513a
commit
ac8f6bdbb3
@ -1,7 +1,22 @@
|
|||||||
package net.tomatentum.marinara;
|
package net.tomatentum.marinara;
|
||||||
|
|
||||||
public class Marinara {
|
import net.tomatentum.marinara.registry.InteractionRegistry;
|
||||||
public static Marinara load() {
|
import net.tomatentum.marinara.wrapper.LibraryWrapper;
|
||||||
|
|
||||||
|
public class Marinara {
|
||||||
|
|
||||||
|
public static Marinara load(LibraryWrapper wrapper) {
|
||||||
|
InteractionRegistry registry = new InteractionRegistry(wrapper);
|
||||||
|
return new Marinara(registry);
|
||||||
|
}
|
||||||
|
|
||||||
|
private InteractionRegistry registry;
|
||||||
|
|
||||||
|
private Marinara(InteractionRegistry registry) {
|
||||||
|
this.registry = registry;
|
||||||
|
}
|
||||||
|
|
||||||
|
public InteractionRegistry getRegistry() {
|
||||||
|
return registry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user