Class ClueItemFactory
java.lang.Object
com.deco2800.game.entities.factories.ItemFactory
com.deco2800.game.entities.factories.ClueItemFactory
Deprecated.
Factory to create item entities with predefined components.
Each item entity type should have a creation method that returns a corresponding entity. Predefined entity properties can be loaded from configs stored as json files which are defined in "ItemConfigs".
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
createItem
(Entity target, String texturePath) Deprecated.static int
Deprecated.Methods inherited from class com.deco2800.game.entities.factories.ItemFactory
createItem, createItem
-
Method Details
-
createItem
Deprecated. -
getGuiltyRating
public static int getGuiltyRating()Deprecated.
-