comparison browser_side/panels.py @ 128:2849ec993d89

basic radio collective
author Goffi <goffi@goffi.org>
date Mon, 23 Jan 2012 00:15:19 +0100
parents e19a8de8b3de
children ddfcc4cb6cee
comparison
equal deleted inserted replaced
127:e19a8de8b3de 128:2849ec993d89
741 def getGame(self, game_type): 741 def getGame(self, game_type):
742 """Return class managing the game type""" 742 """Return class managing the game type"""
743 #TODO: check that the game is launched, and manage errors 743 #TODO: check that the game is launched, and manage errors
744 if game_type=="Tarot": 744 if game_type=="Tarot":
745 return self.tarot_panel 745 return self.tarot_panel
746 elif game_type=="RadioCol":
747 return self.radiocol_panel
746 748
747 class WidgetsPanel(ScrollPanelWrapper): 749 class WidgetsPanel(ScrollPanelWrapper):
748 750
749 def __init__(self, host): 751 def __init__(self, host):
750 ScrollPanelWrapper.__init__(self) 752 ScrollPanelWrapper.__init__(self)