diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-08-05 06:10:55 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-08-05 06:10:55 +0000 |
| commit | cf49a16b29ac412cfea125f7216a0e51e79aa4de (patch) | |
| tree | fc3eb0271f3de0d7900c2a33ab5eafa259d8d250 /pokescripting/AbilityWrapper.h | |
| parent | 56b91df6010a9f3d304438cf95816399a6e46622 (diff) | |
| download | sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.tar.gz sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.tar.xz sigen-cf49a16b29ac412cfea125f7216a0e51e79aa4de.zip | |
[FIX] List members of pokemod classes now can be returned in their entirety
[FIX] Reworked pokescripting for ease of use
[FIX] Now (selected) pokemod values can be overridden in pokescripting
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@237 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokescripting/AbilityWrapper.h')
| -rw-r--r-- | pokescripting/AbilityWrapper.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/pokescripting/AbilityWrapper.h b/pokescripting/AbilityWrapper.h index d563427c..172a8660 100644 --- a/pokescripting/AbilityWrapper.h +++ b/pokescripting/AbilityWrapper.h @@ -41,34 +41,14 @@ class POKESCRIPTING_EXPORT AbilityWrapper : public ObjectWrapper QString name() const; int priority() const; QString description() const; + Pokemod::Script battleScript() const; + Pokemod::Script worldScript() const; private: AbilityWrapper(const Pokemod::Ability* ability, QObject* parent); AbilityWrapper& operator=(const AbilityWrapper& rhs); const Pokemod::Ability* m_ability; }; - -inline AbilityWrapper::AbilityWrapper(const Pokemod::Ability* ability, QObject* parent) : - ObjectWrapper(ability, parent), - m_ability(ability) -{ -} - -inline QString AbilityWrapper::name() const -{ - return m_ability->name(); -} - -inline int AbilityWrapper::priority() const -{ - return m_ability->priority(); -} - -inline QString AbilityWrapper::description() const -{ - return m_ability->description(); -} - } #endif |
