public class EntityFactory extends Factory<EntityFactory,Entity>
constructor, id, processor, type| Constructor and Description |
|---|
EntityFactory(java.lang.String id,
java.lang.Class<? extends Entity> type) |
EntityFactory(java.lang.String id,
java.lang.Class<? extends Entity> type,
java.util.function.Function<Entity,Entity> processor) |
EntityFactory(java.lang.String id,
java.lang.Class<? extends Entity> type,
java.util.function.Function<Entity,Entity> processor,
java.util.function.Function<java.lang.Class<?>,java.util.Optional<?>> mapping) |
EntityFactory(java.lang.String id,
java.util.function.Supplier<Entity> constructor) |
EntityFactory(java.lang.String id,
java.util.function.Supplier<Entity> constructor,
java.util.function.Function<Entity,Entity> processor) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
build() |
protected EntityFactory |
selfConstructor(java.lang.String id,
java.util.function.Supplier<Entity> constructor,
java.util.function.Function<Entity,Entity> processor) |
getID, getType, process, selfConstructorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsameTypepublic EntityFactory(java.lang.String id,
java.lang.Class<? extends Entity> type,
java.util.function.Function<Entity,Entity> processor,
java.util.function.Function<java.lang.Class<?>,java.util.Optional<?>> mapping)
public EntityFactory(java.lang.String id,
java.lang.Class<? extends Entity> type,
java.util.function.Function<Entity,Entity> processor)
public EntityFactory(java.lang.String id,
java.lang.Class<? extends Entity> type)
public EntityFactory(java.lang.String id,
java.util.function.Supplier<Entity> constructor,
java.util.function.Function<Entity,Entity> processor)
public EntityFactory(java.lang.String id,
java.util.function.Supplier<Entity> constructor)
protected EntityFactory selfConstructor(java.lang.String id, java.util.function.Supplier<Entity> constructor, java.util.function.Function<Entity,Entity> processor)
selfConstructor in class Factory<EntityFactory,Entity>public Entity build()
build in class Factory<EntityFactory,Entity>