All Implemented Interfaces:
IMessage

public class AssignUnassignMessage extends AbstractBuildingServerMessage<DefaultBuildingInstance>
Message class which manages the messages assigning or unassigning of citizens.
  • Constructor Details

    • AssignUnassignMessage

      public AssignUnassignMessage()
      Empty public constructor.
    • AssignUnassignMessage

      public AssignUnassignMessage(@NotNull @NotNull IBuildingView building, boolean assign, int citizenID, JobEntry entry)
      Creates object for the player to assigning or unassigning a citizen.
      Parameters:
      building - view of the building to read data from
      assign - assign or unassigning the citizens
      citizenID - the id of the citizen to fill the job.
      entry - the job entry.
  • Method Details