This commit is contained in:
2015-08-22 06:25:01 -07:00
parent 6f25b81081
commit 56c4f158fc
16 changed files with 1166 additions and 0 deletions

22
aStar/Tile.h Normal file
View File

@@ -0,0 +1,22 @@
#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;
};