mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -07:00
initial commit
This commit is contained in:
commit
a11f93df4d
99 changed files with 7493 additions and 0 deletions
16
cockatrice/src/cardlist.h
Normal file
16
cockatrice/src/cardlist.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef CARDLIST_H
|
||||
#define CARDLIST_H
|
||||
|
||||
#include "carditem.h"
|
||||
#include <QList>
|
||||
|
||||
class CardList : public QList<CardItem *> {
|
||||
protected:
|
||||
bool contentsKnown;
|
||||
public:
|
||||
CardList(bool _contentsKnown);
|
||||
CardItem *findCard(const int id, const bool remove, int *position = NULL);
|
||||
bool getContentsKnown() const { return contentsKnown; }
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue