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