ksquares
ksquaresplayer.h
Go to the documentation of this file.
33 explicit KSquaresPlayer(const QString &newName, const QColor &newColor, bool isPlayerHuman = true) {setName(newName); playerColour = newColor; human = isPlayerHuman; playerScore = 0;} //defaults to human player
36 KSquaresPlayer() {} //Needed to do QVector<KSquaresPlayer>::operator[int i] since it has to allocate memory i think
KSquaresPlayer(const QString &newName, const QColor &newColor, bool isPlayerHuman=true)
Creates a player.
Definition: ksquaresplayer.h:33
bool operator<(const KSquaresPlayer &player) const
Used in sort algorithm.
Definition: ksquaresplayer.h:85
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.