Archipelago/worlds/ladx/LADXR/mapgen/util.py

6 lines
93 B
Python

def xyrange(w, h):
for y in range(h):
for x in range(w):
yield x, y