mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-13 05:27:15 -08:00
22 lines
528 B
C++
22 lines
528 B
C++
#ifndef SERVERZONE_H
|
|
#define SERVERZONE_H
|
|
|
|
#include <QString>
|
|
|
|
class ServerZone {
|
|
private:
|
|
QString name;
|
|
bool isPublic;
|
|
bool hasCoords;
|
|
int cardCount;
|
|
public:
|
|
ServerZone(const QString &_name, bool _isPublic, bool _hasCoords, int _cardCount)
|
|
: name(_name), isPublic(_isPublic), hasCoords(_hasCoords), cardCount(_cardCount) { }
|
|
QString getName() const { return name; }
|
|
bool getPublic() const { return isPublic; }
|
|
bool getHasCoords() const { return hasCoords; }
|
|
int getCardCount() const { return cardCount; }
|
|
};
|
|
|
|
#endif
|