From c671d21b54d43dbd6112f3ab50fc6ebd63dc4aef Mon Sep 17 00:00:00 2001 From: Renaud Guezennec Date: Thu, 4 Feb 2016 17:58:00 +0100 Subject: Add Management of Color --- die.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'die.cpp') diff --git a/die.cpp b/die.cpp index 1eb94e0..64bd606 100644 --- a/die.cpp +++ b/die.cpp @@ -149,3 +149,13 @@ void Die::setBase(qint64 base) { m_base = base; } +QString Die::getColor() const +{ + return m_color; +} + +void Die::setColor(const QString &color) +{ + m_color = color; +} + -- cgit v1.2.3-70-g09d2