Definition at line 77 of file tile2x2.h.
77 {
78 for (uint16_t
x = 0;
x < 2; ++
x) {
79 for (uint16_t
y = 0;
y < 2; ++
y) {
80 uint8_t value =
at(
x,
y);
81 if (value > 0) {
84 if (
xymap.has(xx, yy)) {
85 int index =
xymap(xx, yy);
86 visitor.draw(vec2<int16_t>(xx, yy), index, value);
87 }
88 }
89 }
90 }
91 }
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
uint8_t & at(int x, int y)
References at(), mOrigin, x, xymap, and y.