Mercurial > libervia-web
diff browser_side/panels.py @ 127:e19a8de8b3de
radio collective first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 22 Jan 2012 19:38:05 +0100 |
parents | 5cb852d9757e |
children | 2849ec993d89 |
line wrap: on
line diff
--- a/browser_side/panels.py Thu Jan 05 00:43:13 2012 +0100 +++ b/browser_side/panels.py Sun Jan 22 19:38:05 2012 +0100 @@ -42,6 +42,7 @@ from pyjamas import Window from pyjamas import DOM from card_game import CardPanel +from radiocol import RadioColPanel from menu import Menu from jid import JID from tools import html_sanitize @@ -732,6 +733,10 @@ self.tarot_panel = CardPanel(self, referee, players, self.nick) self.vpanel.insert(self.tarot_panel, 0) self.vpanel.setCellHeight(self.tarot_panel, self.tarot_panel.getHeight()) + elif game_type=="RadioCol": + self.radiocol_panel = RadioColPanel(self, referee, self.nick) + self.vpanel.insert(self.radiocol_panel, 0) + self.vpanel.setCellHeight(self.radiocol_panel, self.radiocol_panel.getHeight()) def getGame(self, game_type): """Return class managing the game type"""