|
|
|
@ -233,10 +233,9 @@ class TestTtrsPlayer(TtrsPlayer):
@@ -233,10 +233,9 @@ class TestTtrsPlayer(TtrsPlayer):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BalanceTtrsPlayer(TtrsPlayer, threading.Thread): |
|
|
|
|
def __init__(self, playground, addr, player_id): |
|
|
|
|
def __init__(self, playground, balance_util): |
|
|
|
|
self.playground = playground |
|
|
|
|
self.addr = addr |
|
|
|
|
self.player_id = player_id |
|
|
|
|
self.balance_util = balance_util |
|
|
|
|
self.evt = None |
|
|
|
|
self.lastevt = None |
|
|
|
|
threading.Thread.__init__(self, daemon=True) |
|
|
|
|