]> git.lizzy.rs Git - dragonblocks3d.git/blob - src/tile_def.hpp
Set antialiasing to 8
[dragonblocks3d.git] / src / tile_def.hpp
1 #pragma once
2
3 #include <vector>
4 #include "texture.hpp"
5
6 namespace dragonblocks
7 {
8         class TileDef
9         {
10                 public:
11                 std::vector<Texture> tiles;
12                 
13                 Texture get(int) const;
14                 int size() const;
15                 
16                 TileDef() = default;
17                 TileDef(const Texture &);
18                 TileDef(const std::vector<Texture> &);
19         };
20