21 lines
336 B
C++
21 lines
336 B
C++
#include <SFML/Graphics.hpp>
|
|
|
|
#ifndef GAMETILE_H
|
|
#define GAMETILE_H
|
|
|
|
class GameTile {
|
|
public:
|
|
bool isPassable;
|
|
bool isExit;
|
|
|
|
sf::Vector2f pos;
|
|
sf::Texture texture;
|
|
sf::Sprite sprite;
|
|
|
|
GameTile(std::string, float, float, bool, bool);
|
|
|
|
bool setupSprite(std::string);
|
|
};
|
|
|
|
#endif
|