Lets the player set a name

Better comments
This commit is contained in:
2018-03-13 10:50:50 +01:00
parent 7d0f0dc4f8
commit 3c1eca4d39
11 changed files with 162 additions and 52 deletions

View File

@ -114,11 +114,7 @@ public class Backpack<T extends IItem> implements IContainer {
@Override
public boolean isFull() {
if (content.size() >= MAX_SIZE) {
return true;
} else {
return false;
}
return content.size() >= MAX_SIZE;
}
//This shows as an error, but is necessary to compile.