Initial version, load default FEN, displays for 5 seconds and closes

This commit is contained in:
2022-04-14 16:03:32 -04:00
commit 8c7fe707a1
12 changed files with 465 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include "piece.hpp"
class Sprite
{
public:
static int get(Piece piece, SDL_Surface* dest_surface);
static int get(Team team, Type type, Visibility vis, SDL_Surface* dest_surface);
static void close();
private:
static void load();
static SDL_Surface* sheet;
};