Package it.polimi.ingsw.model.track
Interface VaticanReportObservable
- All Known Implementing Classes:
LorenzoTrack,Track
public interface VaticanReportObservable
It's used together with
VaticanReportObserver to notify
other players' track when a track reaches a vatican report cell-
Method Summary
Modifier and Type Method Description voidaddToVaticanReportObserverList(VaticanReportObserver observerToAdd)Add an observer to a list of observersvoidnotifyForVaticanReport(int active)Notify the vaticanReport observers that a vatican report is startedvoidremoveFromVaticanReportObserverList(VaticanReportObserver observerToRemove)Remove an observer from a list of observers
-
Method Details
-
addToVaticanReportObserverList
Add an observer to a list of observers- Parameters:
observerToAdd- the observer to add
-
removeFromVaticanReportObserverList
Remove an observer from a list of observers- Parameters:
observerToRemove- the observer to remove
-
notifyForVaticanReport
void notifyForVaticanReport(int active)Notify the vaticanReport observers that a vatican report is started
-