11 lines
423 B
C++
11 lines
423 B
C++
|
#ifndef BLOCKS_H
|
||
|
#define BLOCKS_H
|
||
|
|
||
|
#include "../sdlpp/sdlpp_rectrenderer.hpp"
|
||
|
#include <memory>
|
||
|
|
||
|
std::shared_ptr<SDLPP::RectangleRender> createTerrainBlock( uint64_t block_id, std::shared_ptr<SDLPP::Renderer> &renderer, bool collision = false );
|
||
|
std::shared_ptr<SDLPP::RectangleRender> createTerrainBlock( uint64_t block_id, std::shared_ptr<SDLPP::Renderer> &renderer, double x, double y, bool collision = false );
|
||
|
|
||
|
#endif
|