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 typevoid
setup()
Called when all managers are created
-
Constructor Details
-
BlueprintItemFactory
public BlueprintItemFactory()
-
-
Method Details
-
setup
public void setup()Description copied from interface:Item.Factory
Called when all managers are created- Specified by:
setup
in interfaceItem.Factory<BlueprintItem>
-
create
-
fromJson
- Specified by:
fromJson
in interfaceItem.Factory<BlueprintItem>
-
createDefault
Description copied from interface:Item.Factory
Create any basic item of this type- Specified by:
createDefault
in interfaceItem.Factory<BlueprintItem>
-