Class BuildingConstructionModEvent

All Implemented Interfaces:
IModEvent

public final class BuildingConstructionModEvent extends AbstractBuildingModEvent
Event for when a building was built, upgraded, repaired or removed.
  • Constructor Details

    • BuildingConstructionModEvent

      public BuildingConstructionModEvent(IBuilding building, WorkOrderBuilding workOrder)
      Building construction event.
      Parameters:
      building - the building the event was for.
      workOrder - the work order which was completed.
  • Method Details

    • getWorkOrder

      public WorkOrderBuilding getWorkOrder()
      Get the work order which was completed.
      Returns:
      the event type.