package renderer import ( "pacman/game/world" ) // DrawMaze - draws the maze. func DrawMaze(maze *world.Maze, x, y uint8) { for tile_x := range uint8(world.MAZE_WIDTH) { for tile_y := range uint8(world.MAZE_HEIGHT) { DrawTile(x+tile_x, y+tile_y, maze.At(tile_x, tile_y)) } } }