Mercurial > libervia-backend
comparison src/tools/frontends/games.py @ 716:30eb49e4e05d
frontends tools: added symbols for MUC user activity identification
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 21 Nov 2013 15:38:53 +0100 |
parents | 2805fa3f4bdf |
children |
comparison
equal
deleted
inserted
replaced
715:f47d7c09c60b | 716:30eb49e4e05d |
---|---|
71 idx2 = VALUES_ORDER.index(other.value) | 71 idx2 = VALUES_ORDER.index(other.value) |
72 return idx1.__cmp__(idx2) | 72 return idx1.__cmp__(idx2) |
73 | 73 |
74 def __str__(self): | 74 def __str__(self): |
75 return "[%s,%s]" % (self.suit, self.value) | 75 return "[%s,%s]" % (self.suit, self.value) |
76 | |
77 | |
78 # These symbols are diplayed by Libervia next to the player's nicknames | |
79 SYMBOLS = {"radiocol": u"♬", "tarot": [u"♠", u"♣", u"♥", u"♦"]} |