Another checkpoint. Compiling/building/running - Python API tests from in-engine REPL are not passing, though
This commit is contained in:
parent
1e9fd77a13
commit
f23dfbe4ba
12 changed files with 127 additions and 22 deletions
11
src/IndexTexture.h
Normal file
11
src/IndexTexture.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#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);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue