Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/c/a/canta-HEAD/canta/player/dummy_player.py   canta(Download)
    def __init__(self, path=None, file=None, time=0.0):
        Player.__init__(self, path, file, time=0.0)
        self.loaded = False
        self.pos = 0.0
 

src/c/a/canta-HEAD/canta/player/gst_player.py   canta(Download)
    def __init__(self, path=None, file=None, time=0.0):
        Player.__init__(self, path, file, time)
        self.playbin = gst.element_factory_make("playbin", "player")
        self.clock = None
        self.pipeline = gst.Pipeline("mypipeline")

src/r/e/resistance-HEAD/bots/0/trusty.py   resistance(Download)
        @param index    Your own index in the player list.
        @param spy      Are you supposed to play as a spy?"""
        Player.__init__(self, "Trusty", index, spy)
        self.leader = 0
        self.players = {}

src/r/e/resistance-HEAD/bots/0/SoreLooser.py   resistance(Download)
    def __init__(self, index, spy):
        Player.__init__(self, "SoreLooser", index, spy)
 
        # This information is local and stored for one game only.
        self.local_statistics = {}

src/r/e/resistance-HEAD/bots/0/mvbStock.py   resistance(Download)
    def __init__(self, index, spy):
        Player.__init__(self, "Rogue", index, spy)
        self.spy = spy
        self.index = index
        pass

src/r/e/resistance-HEAD/bots/0/daniele.py   resistance(Download)
    def __init__(self, index, spy):
        self.round=1
        self.blues = 0
        self.red = 0
        Player.__init__(self, "IAmNotASpy", index, spy)

src/r/e/resistance-HEAD/server.py   resistance(Download)
    def __call__(self, game, index, spy):
        """This function pretends to be a Builder, but in fact just
        configures this object in place as it's easier to setup and maintain."""
        Player.__init__(self, self.name, index)
        self.state = game

src/r/e/resistance-HEAD/bots/1/grumpy.py   resistance(Download)
        @param spy      Are you supposed to play as a spy?
        """
        Player.__init__(self, self.__class__.__name__, index)
        self.game = game
        self.spy = spy

src/p/y/pyNekketsu-HEAD/engine/player_non_GK.py   pyNekketsu(Download)
    def __init__(self, team):
        Player.__init__(self,team)
 
    def update(self,match):
        #try to catch the ball 

src/p/y/pyNekketsu-HEAD/engine/player_GK.py   pyNekketsu(Download)
    def __init__(self, team):
        Player.__init__(self,team)
        self.inputs=Inputs(0)
    def update(self,match):
        #try to catch the ball