Class AssignFilterableItemMessage

All Implemented Interfaces:
IMessage

public class AssignFilterableItemMessage extends AbstractBuildingServerMessage<AbstractBuilding>
Message which handles the assignment of items to filterable item lists.
  • Constructor Details

    • AssignFilterableItemMessage

      public AssignFilterableItemMessage()
      Empty standard constructor.
    • AssignFilterableItemMessage

      public AssignFilterableItemMessage(IBuildingView building, int id, ItemStorage item, boolean assign)
      Creates the message to add an item.
      Parameters:
      id - the id of the list of filterables.
      assign - compost if true, dont if false.
      item - the item to assign
      building - the building we're executing on.
  • Method Details