Logo Search packages:      
Sourcecode: schafkopf version File versions  Download package

CanvasPlayer Class Reference

#include <canvasplayer.h>

List of all members.

Detailed Description

Represents a player on the canvas

Dominik Seichter

Definition at line 39 of file canvasplayer.h.

Public Member Functions

CanvasCard * canvasCard (int index)
 CanvasPlayer (int i, QCanvas *canvas)
void cardPlayed (Card *c)
CanvasCard * hasCard (int cardid) const
unsigned int id () const
void init ()
bool isHuman () const
void position ()
void setCards (CardList *cards)
void setHasDoubled (bool h)
void setLast (bool l)
void setName (const QString &name)

Private Member Functions

void create ()

Private Attributes

QCanvas * m_canvas
bool m_has_doubled
unsigned int m_id
bool m_is_human
bool m_is_last
CanvasCard * m_items [NUMCARDS]
QCanvasText * m_name
QString m_player_name
int m_position

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

Generated by  Doxygen 1.6.0   Back to index