()
| 127 | } |
| 128 | |
| 129 | public List<Entity> getEntities() { |
| 130 | List<Entity> en = new ArrayList<>(); |
| 131 | |
| 132 | for (Chunk i : getChunks()) { |
| 133 | for (Entity j : i.getEntities()) { |
| 134 | if (contains(j.getLocation())) { |
| 135 | en.add(j); |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | return en; |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * Set the locations |
no test coverage detected