diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-12 20:33:48 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-12 20:33:48 +0100 |
commit | 92bec13dec53933a9cf8045ab486b47dc13fe46f (patch) | |
tree | de140535d5e6941bfd0f251e851f8a331ce6edf2 /src/main/cpp/WorldScene.cpp | |
parent | Fix pan (diff) | |
download | Subconscious-old-92bec13dec53933a9cf8045ab486b47dc13fe46f.tar.gz Subconscious-old-92bec13dec53933a9cf8045ab486b47dc13fe46f.zip |
Remove Actor::Type and Scene::Type in favor of dynamic_cast<T>()
Diffstat (limited to 'src/main/cpp/WorldScene.cpp')
-rw-r--r-- | src/main/cpp/WorldScene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/cpp/WorldScene.cpp b/src/main/cpp/WorldScene.cpp index 1be2097..8887f6f 100644 --- a/src/main/cpp/WorldScene.cpp +++ b/src/main/cpp/WorldScene.cpp @@ -1,6 +1,6 @@ #include "WorldScene.hpp" -WorldScene::WorldScene(sf::RenderWindow &window) : Scene(window, Scene::Type::WORLD) +WorldScene::WorldScene(sf::RenderWindow &window) : Scene(window) { _tileSize = DEFAULT_TILE_SIZE_PX; } |