Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Server_Counter Class Reference

#include <server_counter.h>

Public Member Functions

 Server_Counter (int _id, const QString &_name, const color &_counterColor, int _radius, int _count=0)
 ~Server_Counter ()
int getId () const
QString getName () const
const color & getColor () const
int getRadius () const
int getCount () const
void setCount (int _count)
void getInfo (ServerInfo_Counter *info)

Protected Attributes

int id
QString name
color counterColor
int radius
int count

Constructor & Destructor Documentation

◆ Server_Counter()

Server_Counter::Server_Counter ( int _id,
const QString & _name,
const color & _counterColor,
int _radius,
int _count = 0 )

◆ ~Server_Counter()

Server_Counter::~Server_Counter ( )
inline

Member Function Documentation

◆ getColor()

const color & Server_Counter::getColor ( ) const
inline

◆ getCount()

int Server_Counter::getCount ( ) const
inline
Here is the caller graph for this function:

◆ getId()

int Server_Counter::getId ( ) const
inline
Here is the caller graph for this function:

◆ getInfo()

void Server_Counter::getInfo ( ServerInfo_Counter * info)

◆ getName()

QString Server_Counter::getName ( ) const
inline

◆ getRadius()

int Server_Counter::getRadius ( ) const
inline

◆ setCount()

void Server_Counter::setCount ( int _count)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ count

int Server_Counter::count
protected

◆ counterColor

color Server_Counter::counterColor
protected

◆ id

int Server_Counter::id
protected

◆ name

QString Server_Counter::name
protected

◆ radius

int Server_Counter::radius
protected

The documentation for this class was generated from the following files: