diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-08-10 22:12:21 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-08-10 22:12:21 -0400 |
commit | 6b733cae841ba78751fcf0f0750be682d01419de (patch) | |
tree | 8b9f9d547d1e4b6b65b24b5a6627a7c9a9dacb0d /sigmod/Game.h | |
parent | c5418aa5e11bc0bd11df8f9ef6a7fe5b34cce35f (diff) | |
download | sigen-no-macros.tar.gz sigen-no-macros.tar.xz sigen-no-macros.zip |
Use a reference for the typechart gettersno-macros
Diffstat (limited to 'sigmod/Game.h')
-rw-r--r-- | sigmod/Game.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sigmod/Game.h b/sigmod/Game.h index f9a55a72..a2bb81a4 100644 --- a/sigmod/Game.h +++ b/sigmod/Game.h @@ -154,8 +154,8 @@ class SIGMOD_EXPORT Game : public Object QString description() const; bool singlePlayer() const; Sigcore::Script startScript() const; - const Sigcore::Matrix<Sigcore::Fraction>* typechart() const; - Sigcore::Matrix<Sigcore::Fraction>* typechart(); + const Sigcore::Matrix<Sigcore::Fraction>& typechart() const; + Sigcore::Matrix<Sigcore::Fraction>& typechart(); Sigcore::Fraction typechart(const int attack, const int defense) const; QPoint mapPosition(const int map) const; QMap<int, QPoint> mapPosition() const; |