Example #1
0
 def on_start(self):
     players = [(self.p1_name, Incantus.load_deckfile(self.p1_deckfile),
                 Incantus.load_avatar(self.p1_avatar)),
                (self.p2_name, Incantus.load_deckfile(self.p2_deckfile),
                 Incantus.load_avatar(self.p2_avatar))]
     Incantus.start_solitaire(self.p1_name, players)
Example #2
0
 def on_start(self):
     players = [(self.p1_name, Incantus.load_deckfile(self.p1_deckfile), Incantus.load_avatar(self.p1_avatar)), 
                (self.p2_name, Incantus.load_deckfile(self.p2_deckfile), Incantus.load_avatar(self.p2_avatar))]
     Incantus.start_solitaire(self.p1_name, players)
Example #3
0
 def on_join(self):
     decklist = Incantus.load_deckfile(self.deckfile)
     avatar_data = Incantus.load_avatar(self.avatar)
     defrd = Incantus.join_game(self.player_name, decklist, avatar_data,
                                self.host, self.port)
Example #4
0
 def on_join(self):
     decklist = Incantus.load_deckfile(self.deckfile)
     avatar_data = Incantus.load_avatar(self.avatar)
     defrd = Incantus.join_game(self.player_name, decklist, avatar_data, self.host, self.port)