Class ClueItemFactory

java.lang.Object
com.deco2800.game.entities.factories.ItemFactory
com.deco2800.game.entities.factories.ClueItemFactory

@Deprecated public class ClueItemFactory extends ItemFactory
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 Details

    • createItem

      public static Entity createItem(Entity target, String texturePath)
      Deprecated.
    • getGuiltyRating

      public static int getGuiltyRating()
      Deprecated.