mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-02 06:30:15 +02:00
@@ -57,10 +57,12 @@ public class Potato implements Tuber {
|
|||||||
return this.isPutIntoOven();
|
return this.isPutIntoOven();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isDelicious() {
|
public boolean isDelicious() {
|
||||||
return this.isBaked();
|
return this.isBaked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Tuber propagate() {
|
public Tuber propagate() {
|
||||||
return new Potato();
|
return new Potato();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user