Because this project can't die

This commit is contained in:
superckl 2014-02-01 23:49:36 -06:00
parent 59eb7051b2
commit c387f3d6af
2 changed files with 7 additions and 0 deletions

View file

@ -29,6 +29,11 @@ public class Potato implements Tuber {
public boolean isDelicious() {
return true; // obviously, potatos are always delicious
}
@Override
public Tuber propagate() {
return new Potato();
}
private class Condiment {
private final String name;
@ -52,4 +57,5 @@ public class Potato implements Tuber {
return false; // robots are not delicious
}
}
}

View file

@ -2,4 +2,5 @@ package org.drtshock;
public interface Tuber {
public boolean isDelicious();
public Tuber propagate();
}