be-graphes/src/main/org/insa/algo/AbstractObserver.java
Mikael Capelle cfb59ac0f1 Update.
2018-02-16 15:29:11 +01:00

20 lines
387 B
Java

package org.insa.algo;
public abstract class AbstractObserver {
// Specify if the observer is graphic or not.
private final boolean isgraphic;
protected AbstractObserver(boolean isGraphic) {
this.isgraphic = isGraphic;
}
/**
* @return true if this observer is graphic (use drawing to display
* information).
*/
public boolean isGraphic() {
return isgraphic;
}
}