aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/cpp/Actor.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-12 20:33:48 +0100
committerNao Pross <naopross@thearcway.org>2018-02-12 20:33:48 +0100
commit92bec13dec53933a9cf8045ab486b47dc13fe46f (patch)
treede140535d5e6941bfd0f251e851f8a331ce6edf2 /src/main/cpp/Actor.cpp
parentFix pan (diff)
downloadSubconscious-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.cpp4
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()