diff options
Diffstat (limited to 'sigscript/GameWrapper.cpp')
| -rw-r--r-- | sigscript/GameWrapper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sigscript/GameWrapper.cpp b/sigscript/GameWrapper.cpp index d93aee86..82355b44 100644 --- a/sigscript/GameWrapper.cpp +++ b/sigscript/GameWrapper.cpp @@ -263,6 +263,11 @@ Fraction GameWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapp return m_game->typechart(m_game->typeIndex(attacker->id()), m_game->typeIndex(defender->id())); } +QPoint GameWrapper::mapPosition(const MapWrapper* map) const +{ + return m_game->mapPosition(map->id()); +} + RulesWrapper* GameWrapper::rules() { return RulesWrapper::create(m_game->rules(), this); |
