Package com.prineside.tdi2.items
Class BlueprintItem.BlueprintItemFactory
java.lang.Object
com.prineside.tdi2.items.BlueprintItem.BlueprintItemFactory
- All Implemented Interfaces:
EntityFactory,Item.Factory<BlueprintItem>
- Enclosing class:
- BlueprintItem
public static class BlueprintItem.BlueprintItemFactory
extends Object
implements Item.Factory<BlueprintItem>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.Item.Factory
Item.Factory.AbstractFactory<T extends Item> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(BlueprintType blueprintType) Create any basic item of this typevoidsetup()Called when all managers are created
-
Constructor Details
-
BlueprintItemFactory
public BlueprintItemFactory()
-
-
Method Details
-
setup
public void setup()Description copied from interface:Item.FactoryCalled when all managers are created- Specified by:
setupin interfaceItem.Factory<BlueprintItem>
-
create
-
fromJson
- Specified by:
fromJsonin interfaceItem.Factory<BlueprintItem>
-
createDefault
Description copied from interface:Item.FactoryCreate any basic item of this type- Specified by:
createDefaultin interfaceItem.Factory<BlueprintItem>
-