comparison frontends/quick_frontend/quick_chat.py @ 85:fc7583282d40

Tarot Game plugin: first draft - SàT: beginning of the plugin - Tarot Plugin: 1 method createTarotGame et 1 signal tarotGameStarted - wix: added "Game" menu in group chat to start Tarot game
author Goffi <goffi@goffi.org>
date Fri, 07 May 2010 17:09:30 +0930
parents db0a0f000e37
children 1ca5f254ce41
comparison
equal deleted inserted replaced
84:7471ffcda33b 85:fc7583282d40
28 28
29 def __init__(self, target, host, type='one2one'): 29 def __init__(self, target, host, type='one2one'):
30 self.target = target 30 self.target = target
31 self.host = host 31 self.host = host
32 self.type = type 32 self.type = type
33 self.id = ""
33 self.nick = None 34 self.nick = None
35 self.occupants = set()
34 36
35 def setType(self, type): 37 def setType(self, type):
36 """Set the type of the chat 38 """Set the type of the chat
37 @param type: can be 'one2one' for single conversation or 'group' for chat à la IRC 39 @param type: can be 'one2one' for single conversation or 'group' for chat à la IRC
38 """ 40 """