Beispiel #1
0
 def draw_map(self):
     for y in range(self.map.height):
         for x in range(self.map.width):
             symbol = self.map.rendered[self.map.tiles[x][y].tile_type]
             graphics.draw_text(symbol, (x, y))
Beispiel #2
0
 def draw_map(self):
     for y in range(self.map.height):
         for x in range(self.map.width):
             symbol = self.map.rendered[self.map.tiles[x][y].tile_type]
             graphics.draw_text(symbol, (x, y))
Beispiel #3
0
 def draw(self, bg):
     graphics.draw_text(bg, (self.x, self.y))
     graphics.draw_text(self.char, (self.x , self.y))
Beispiel #4
0
 def draw(self, bg):
     graphics.draw_text(bg, (self.x, self.y))
     graphics.draw_text(self.char, (self.x, self.y))