Package it.polimi.ingsw.model.track
Interface VaticanReportObserver
- All Known Implementing Classes:
Track
public interface VaticanReportObserver
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 observersvoidupdate(int active)When the observable class changes it's state notify the observer calling this method
-
Method Details
-
update
void update(int active)When the observable class changes it's state notify the observer calling this method- Parameters:
active- represent the active zone in which the vatican report is held
-
addToVaticanReportObserverList
Add an observer to a list of observers- Parameters:
observerToAdd- the observer to add
-