Class ServiceListener

java.lang.Object
controller.listeners.ServiceListener
Direct Known Subclasses:
DemolishListener, FacilityBuildingListener, SelectionListener, ZoneBuildingListener

public abstract class ServiceListener extends Object
  • Field Details

    • property

      protected final Property property
  • Constructor Details

    • ServiceListener

      public ServiceListener(Property property)
  • Method Details

    • update

      public abstract void update(Coordinate coordinate)
      Update the game model.
      Parameters:
      coordinate - Coordinate of the clicked place.