Skip to content
Snippets Groups Projects
Commit 7543f733 authored by ousseyn01's avatar ousseyn01
Browse files

Route.java is CREATED and DONE

parent c8919c97
No related branches found
No related tags found
No related merge requests found
package model;
import util.Position;
public class Route implements TerrainElement {
private final Position position;
public Route(Position position) {
this.position = position;
}
@Override
public Position getPosition() {
return position;
}
@Override
public boolean isTraversableByFirefighter() {
return true;
}
@Override
public int getFirePropagationDelay() {
return Integer.MAX_VALUE; // Le feu ne se propage jamais
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment