Class InventoryUpdateSystem

java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
com.devcharles.piazzapanic.componentsystems.InventoryUpdateSystem

public class InventoryUpdateSystem extends com.badlogic.ashley.systems.IteratingSystem
Links up the cook's inventory to the hud.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Hud
     

    Fields inherited from class com.badlogic.ashley.core.EntitySystem

    priority
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime)
    This method is called on every entity on every update call of the EntitySystem.

    Methods inherited from class com.badlogic.ashley.systems.IteratingSystem

    addedToEngine, getEntities, getFamily, removedFromEngine, update

    Methods inherited from class com.badlogic.ashley.core.EntitySystem

    checkProcessing, getEngine, setProcessing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • hud

      private Hud hud
  • Constructor Details

    • InventoryUpdateSystem

      public InventoryUpdateSystem(Hud hud)
  • Method Details

    • processEntity

      protected void processEntity(com.badlogic.ashley.core.Entity entity, float deltaTime)
      Description copied from class: com.badlogic.ashley.systems.IteratingSystem
      This method is called on every entity on every update call of the EntitySystem. Override this to implement your system's specific processing.
      Specified by:
      processEntity in class com.badlogic.ashley.systems.IteratingSystem
      Parameters:
      entity - The current Entity being processed
      deltaTime - The delta time between the last and current frame