refactoring
This commit is contained in:
parent
70d9ce0c89
commit
1514bddf14
|
@ -141,11 +141,7 @@ public class TileMap extends TileContainer implements Disposable {
|
|||
|
||||
public void updateVertices() {
|
||||
for (int i = 0; i < chunks.length; ++i)
|
||||
updateChunkVertices(chunks[i]);
|
||||
}
|
||||
|
||||
private void updateChunkVertices(TileChunk chunk) {
|
||||
chunk.updateVertices(vertexGenerator);
|
||||
chunks[i].updateVertices(vertexGenerator);
|
||||
}
|
||||
|
||||
public void updateLighting() {
|
||||
|
|
Loading…
Reference in a new issue