blob: 02a0132400ecfae199c7134e460928b8abea8257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "game.h"
#include "api/spritesheet.h"
#include "facade/SdlContext.h"
#include "facade/Texture.h"
#include <vector>
void game::render(std::vector<crepe::Texture*> & draw, std::vector<crepe::api::Spritesheet*> & ss){
auto& ctx = crepe::SdlContext::get_instance();
ctx.loop(*draw[0], *ss[0]);
}
|