public static ReactivePlayer Create(HumanPlayer player) { var reactivePlayer = new ReactivePlayer(player); reactivePlayer.wait = () => player.Think(() => reactivePlayer.OnReady()); return reactivePlayer; }
public static ReactivePlayer Create(AIPlayer player) { var reactivePlayer = new ReactivePlayer(player); reactivePlayer.wait = () => reactivePlayer.OnReady(); return reactivePlayer; }