12 lines
241 B
C
12 lines
241 B
C
|
#pragma once
|
||
|
#include "Common.h"
|
||
|
class GameEngine; // forward declare
|
||
|
|
||
|
class IndexTexture {
|
||
|
public:
|
||
|
sf::Texture texture;
|
||
|
int grid_size, grid_width, grid_height;
|
||
|
static GameEngine* game;
|
||
|
sf::IntRect spriteCoordinates(int);
|
||
|
};
|