Interface CornerContentVisitor


public interface CornerContentVisitor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(ObjectType object, int diff)
    Updates the count of the given object in the object map
    void
    visit(ResourceType resource, int diff)
    Updates the count of the given resource in the resource map
  • Method Details

    • visit

      void visit(ObjectType object, int diff)
      Updates the count of the given object in the object map
      Parameters:
      object - The object whose count will be updated
      diff - The count difference that will be applied to the object map (usually either 1 or -1)
    • visit

      void visit(ResourceType resource, int diff)
      Updates the count of the given resource in the resource map
      Parameters:
      resource - The resource whose count will be updated
      diff - The count difference that will be applied to the resource map (usually either 1 or -1)