Ajout des méthodes isArrival() et isDeparture()
This commit is contained in:
1 parent
676d159b1d
commit
cc3d30e74f
3 files changed
+17
No files matched your search
@@ -7,5 +7,9 @@ public class ABox extends Box{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isArrival() {
|
||||||
|
return true ;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -95,6 +95,14 @@ public abstract class Box
|
|||||||
return true ;
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isArrival() {
|
||||||
|
return false ;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isDeparture() {
|
||||||
|
return false ;
|
||||||
|
}
|
||||||
|
|
||||||
public List<Box> getNeighbourList() {
|
public List<Box> getNeighbourList() {
|
||||||
return neighbourList;
|
return neighbourList;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user