diff options
Diffstat (limited to 'pokescripting/ObjectWrapper.h')
| -rw-r--r-- | pokescripting/ObjectWrapper.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pokescripting/ObjectWrapper.h b/pokescripting/ObjectWrapper.h index 2cb9f9c4..69a15150 100644 --- a/pokescripting/ObjectWrapper.h +++ b/pokescripting/ObjectWrapper.h @@ -46,23 +46,6 @@ class POKESCRIPTING_EXPORT ObjectWrapper : public Config private: const Pokemod::Object* m_object; }; - -inline ObjectWrapper::ObjectWrapper(const Pokemod::Object* object, QObject* parent) : - Config(parent), - m_object(object) -{ -} - -inline int ObjectWrapper::id() const -{ - return m_object->id(); -} - -inline const Pokemod::Pokemod* ObjectWrapper::pokemod() const -{ - return qobject_cast<const Pokemod::Pokemod*>(m_object->pokemod()); -} - } #endif |
