Definition at line 66 of file tile2x2.h.
66 {
67 for (uint16_t
x = 0;
x < 2; ++
x) {
68 for (uint16_t
y = 0;
y < 2; ++
y) {
69 uint8_t value =
at(
x,
y);
70 if (value > 0) {
73 if (
xymap.has(xx, yy)) {
74 int index =
xymap(xx, yy);
75 visitor.draw(vec2<int16_t>(xx, yy), index, value);
76 }
77 }
78 }
79 }
80 }
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
uint8_t & at(int x, int y)
References at(), mOrigin, x, xymap, and y.