mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 16:49:20 -05:00
added patience plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
024e7f4b44
commit
0b78ed6ff8
430 changed files with 7336 additions and 0 deletions
40
plugins/patience_plugin/Patience/Zug.h
Normal file
40
plugins/patience_plugin/Patience/Zug.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef ZUG_H
|
||||
#define ZUG_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class Karte;
|
||||
class Basisstapel;
|
||||
|
||||
class Zug
|
||||
{
|
||||
public:
|
||||
Zug();
|
||||
Zug(Karte* karte, Basisstapel *herkunft, Basisstapel *ziel);
|
||||
Zug(Karte* karte, Basisstapel *ort);
|
||||
virtual ~Zug();
|
||||
|
||||
bool ist_gueltig() const;
|
||||
bool ist_bewegung() const;
|
||||
bool ist_aufdeckgung() const;
|
||||
|
||||
void setze_bewegung(Karte* karte, Basisstapel *herkunft_, Basisstapel *ziel_);
|
||||
void setze_aufdeckung(Karte* karte, Basisstapel *ort);
|
||||
|
||||
Karte* karte() const;
|
||||
Basisstapel* herkunft() const;
|
||||
Basisstapel* ziel() const;
|
||||
|
||||
|
||||
QString karte_name() const;
|
||||
QString herkunft_name() const;
|
||||
QString ziel_name() const;
|
||||
|
||||
bool operator==(const Zug& anderer) const;
|
||||
|
||||
private:
|
||||
Karte *Karte_;
|
||||
Basisstapel *Herkunft, *Ziel;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue