Class DropComponent

java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.npc.DropComponent

public class DropComponent extends Component
  • Field Details

    • currency

      protected Currency currency
  • Constructor Details

    • DropComponent

      public DropComponent(Currency currency)
  • Method Details

    • getValue

      public int getValue()
    • getCurrency

      public Currency getCurrency()
    • dispose

      public void dispose()
      Description copied from class: Component
      Called when the component is disposed. Dispose of any internal resources here.
      Overrides:
      dispose in class Component