added notebook reading

This commit is contained in:
Luca Carnegie
2019-05-31 23:50:24 -04:00
parent ff32ca6ab5
commit 23f0535a0a
6 changed files with 55 additions and 18 deletions

View File

@@ -255,5 +255,13 @@ class Room {
riddler = null;
}
public boolean containsNotebook() {
for(Item i : this.getItems()) {
if(i.equals(new Notebook()))
return true;
}
return false;
}
}