NetworkTurnPlayer is the implementation of ITurnPlayer interface which handles playing actions over the network. When NetworkTurnPlayer receives an action, it decides whether it should be played locally or sent to every other player. Only actions from LocalPlayers would be played locally. Right now this list includes only AI players.

Action from a real player will be sent over the network, in serialized data format. When this message will be received by the NetworkTurnPlayer, it will be deserialized, at first, and then will be played like any action from LocalPlayer.

Created with the Personal Edition of HelpNDoc: Effortlessly Convert Your Markdown Content with HelpNDoc