You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
369 B
23 lines
369 B
9 years ago
|
#pragma once
|
||
|
#include <SFML\Graphics.hpp>
|
||
|
|
||
|
class Tile {
|
||
|
public:
|
||
|
Tile(bool solid_, double movement_penalty_, sf::Color color_);
|
||
|
Tile();
|
||
|
~Tile();
|
||
|
|
||
|
bool isSolid();
|
||
|
double getPenalty();
|
||
|
sf::Color getColor();
|
||
|
void Rewrite(bool solid_, double movement_penalty_, sf::Color color_);
|
||
|
|
||
|
private:
|
||
|
|
||
|
|
||
|
bool solid = false;
|
||
|
double movement_penalty = 0.0;
|
||
|
sf::Color color;
|
||
|
};
|
||
|
|