17 lines
298 B
C++
17 lines
298 B
C++
|
#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;
|
||
|
|
||
|
};
|