Class BaseItemConfig

java.lang.Object
com.csse3200.game.entities.configs.BaseItemConfig

public class BaseItemConfig extends Object
Defines a basic set of properties stored in item config files to be loaded by Item Factories.
  • Constructor Details

    • BaseItemConfig

      public BaseItemConfig()
      Creates a new BaseItemConfig.
  • Method Details

    • getName

      public String getName()
      Gets the name of the item.
      Returns:
      the name of the item
    • getDescription

      public String getDescription()
      Gets the description of the item.
      Returns:
      the description of the item
    • getEventName

      public String getEventName()
      Gets the event name of the item.
      Returns:
      the event name of the item
    • getAssetPath

      public String getAssetPath()
      Gets the asset path of the item.
      Returns:
      the asset path of the item
    • getCost

      public int getCost()
      Gets the cost of the item.
      Returns:
      the cost of the item