17 lines
347 B
Java
17 lines
347 B
Java
package at.ionas999.health.model;
|
|
|
|
import at.htlleonding.observer.ChangeObserver;
|
|
|
|
public class UpdateObserver implements ChangeObserver<WaitingRoom> {
|
|
private int updateCount;
|
|
|
|
public int getUpdateCount() {
|
|
return updateCount;
|
|
}
|
|
|
|
@Override
|
|
public void update(WaitingRoom subject) {
|
|
this.updateCount++;
|
|
}
|
|
}
|