minor formatting changes
This commit is contained in:
parent
65b97a1d53
commit
9b13d8923f
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue