fix naming case
This commit is contained in:
parent
a0277c49e3
commit
4dcc40e962
|
@ -124,10 +124,10 @@ public class EntityManager implements Disposable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends EntityPreset> Entity addUsingPreset(Class<T> presetType) {
|
public <T extends EntityPreset> Entity addUsingPreset(Class<T> presetType) {
|
||||||
return addusingPreset(presetType, null);
|
return addUsingPreset(presetType, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends EntityPreset> Entity addusingPreset(Class<T> presetType, EntityPreset.CreationArgs args) {
|
public <T extends EntityPreset> Entity addUsingPreset(Class<T> presetType, EntityPreset.CreationArgs args) {
|
||||||
EntityPreset preset = presets.get(presetType);
|
EntityPreset preset = presets.get(presetType);
|
||||||
if (preset == null)
|
if (preset == null)
|
||||||
throw new IllegalArgumentException("Cannot add entity using an unregistered EntityPreset.");
|
throw new IllegalArgumentException("Cannot add entity using an unregistered EntityPreset.");
|
||||||
|
|
Loading…
Reference in a new issue