minor formatting changes

This commit is contained in:
randomuser 2022-04-28 14:00:21 -05:00
parent 65b97a1d53
commit 9b13d8923f
1 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,10 @@ class Renderer:
return tilesInScene return tilesInScene
def render(self): def render(self):
board = [["." for i in range(self.viewport[1])] for i in range(self.viewport[0])] board = [
["." for i in range(self.viewport[1])]
for i in range(self.viewport[0])
]
toRender = self.selectForRendering() toRender = self.selectForRendering()
@ -75,4 +78,3 @@ class Renderer:
for j in range(len(rendered)): for j in range(len(rendered)):
buf.append(rendered[j][i]) buf.append(rendered[j][i])
print(''.join(buf)) print(''.join(buf))