mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
Bag: remove a useless method
This commit is contained in:
parent
6dc05081b0
commit
3caacd9c84
2 changed files with 0 additions and 16 deletions
13
game/bag.cpp
13
game/bag.cpp
|
@ -21,8 +21,6 @@
|
|||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <cstdlib> // For rand()
|
||||
|
||||
#include <dic.h>
|
||||
|
@ -150,14 +148,3 @@ Bag & Bag::operator=(const Bag &iOther)
|
|||
}
|
||||
|
||||
|
||||
void Bag::dumpAll() const
|
||||
{
|
||||
std::pair<Tile, int> p;
|
||||
BOOST_FOREACH(p, m_tilesMap)
|
||||
{
|
||||
if (p.second)
|
||||
fprintf(stderr, "%lc[%i] ", p.first.toChar(), p.second);
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
|
|
|
@ -80,9 +80,6 @@ public:
|
|||
/// Convenience getter on the dictionary
|
||||
const Dictionary & getDic() const { return m_dic; }
|
||||
|
||||
/// Print on stderr all the letters of the bag (for debugging purposes)
|
||||
void dumpAll() const;
|
||||
|
||||
private:
|
||||
/// Dictionary
|
||||
const Dictionary &m_dic;
|
||||
|
|
Loading…
Reference in a new issue