aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/highlightdice.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-10-27 00:25:55 +0200
committerRenaud G <renaud@rolisteam.org>2018-11-09 23:47:36 +0100
commitc98b88063b0edd45c240902a767804f232af9a43 (patch)
treee25655fdddf2e2c5879115bd4f87b125ff81c631 /highlightdice.cpp
parentab902d65c6640e7b388cc5d89588e2fc6b32759a (diff)
downloadOneRoll-c98b88063b0edd45c240902a767804f232af9a43.tar.gz
OneRoll-c98b88063b0edd45c240902a767804f232af9a43.zip
HighLightDice: add member to help.
Diffstat (limited to 'highlightdice.cpp')
-rw-r--r--highlightdice.cpp24
1 files changed, 22 insertions, 2 deletions
diff --git a/highlightdice.cpp b/highlightdice.cpp
index 47ed79e..1c4b2e7 100644
--- a/highlightdice.cpp
+++ b/highlightdice.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "highlightdice.h"
-HighLightDice::HighLightDice(QList<qint64> result,bool isHighlighted, QString color)
- : m_result(result),m_hasHighlight(isHighlighted),m_color(color)
+HighLightDice::HighLightDice(QList<qint64> result, bool isHighlighted, QString color, bool displayed, quint64 faces)
+ : m_result(result),m_hasHighlight(isHighlighted),m_color(color), m_displayed(displayed),m_faces(faces)
{
}
@@ -60,3 +60,23 @@ void HighLightDice::setColor(const QString &color)
{
m_color = color;
}
+
+bool HighLightDice::getDisplayed() const
+{
+ return m_displayed;
+}
+
+void HighLightDice::setDisplayed(bool displayed)
+{
+ m_displayed = displayed;
+}
+
+quint64 HighLightDice::getFaces() const
+{
+ return m_faces;
+}
+
+void HighLightDice::setFaces(const quint64 &faces)
+{
+ m_faces = faces;
+}