10 lines
187 B
C++
10 lines
187 B
C++
#include "tiles/dirt.h"
|
|
|
|
void Dirt::render(Render r) {
|
|
r.fill_rectangle_sz(
|
|
node().pos() * (TILE_SIZE + 1),
|
|
node().size() * TILE_SIZE,
|
|
{100, 50, 10}
|
|
);
|
|
}
|
|
|