restructuring and updating CMakeLists

This commit is contained in:
2017-07-16 14:04:41 -07:00
parent 769c37f148
commit aa593870df
16 changed files with 96 additions and 26 deletions

22
include/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;
};