ClientInitialization
A trait of factory objects of clients. A ClientInitialization object internally knows the connection target and the play protocol to use, and it has an ability to create a fresh SightedClient given the client's player-name and the initial state.
class Object
trait Matchable
class Any
Value members
Abstract methods
def initializeFresh(playerName: String, initialState: State): Resource[F, SightedClient[F, SelfBoundPackets, PeerBoundPackets, State]]
Initialize a fresh client that has initialState as its initial state.
Initialize a fresh client that has initialState as its initial state.