summary refs log tree commit diff stats
path: root/src/components/map_render.h
blob: a232aa69afdd18b7565cca7f7ec8485d6ddd8870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MAP_RENDER_H
#define MAP_RENDER_H

#include "entity.h"
#include "renderer.h"

class Map;
class Game;

class MapRenderComponent : public Component {
  public:
    MapRenderComponent(const Map& map);
    void render(Game& game, Entity& entity, Texture& buffer);
    
  private:
    Texture screen;
};

#endif