Removed unused function.
This commit is contained in:
parent
a5b01bf3c5
commit
454156eabe
2 changed files with 1 additions and 14 deletions
|
@ -137,13 +137,3 @@ TileManager::raycast(const sf::Vector2f& lineStart,
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* \copydoc sf::Drawable::draw
|
||||
*/
|
||||
void
|
||||
TileManager::draw(sf::RenderTarget& target, sf::RenderStates states) const {
|
||||
for (auto it = mTiles.begin(); it != mTiles.end(); it++) {
|
||||
target.draw((**it), states);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
class World;
|
||||
|
||||
class TileManager : public sf::Drawable {
|
||||
class TileManager {
|
||||
public:
|
||||
enum class Type {
|
||||
FLOOR,
|
||||
|
@ -37,9 +37,6 @@ public:
|
|||
private:
|
||||
class Tile;
|
||||
|
||||
private:
|
||||
void draw(sf::RenderTarget& target, sf::RenderStates states) const;
|
||||
|
||||
private:
|
||||
World& mWorld;
|
||||
std::vector<std::shared_ptr<Tile> > mTiles;
|
||||
|
|
Reference in a new issue