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/Actor.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/Actor.cpp')
-rw-r--r-- | src/main/cpp/Actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/cpp/Actor.cpp b/src/main/cpp/Actor.cpp index 219488d..a6dc597 100644 --- a/src/main/cpp/Actor.cpp +++ b/src/main/cpp/Actor.cpp @@ -1,7 +1,7 @@ #include "Actor.hpp" -Actor::Actor(std::string _name, unsigned _maxHp, Type _type) : - name(_name), maxHp(_maxHp), type(_type) +Actor::Actor(std::string _name, unsigned _maxHp) : + name(_name), maxHp(_maxHp) {} Actor::~Actor() |