public void OnGameEnd(GameEndBroadcast broadcast) { LoggedInState(); ServerToClientMessage message = new ServerToClientMessage(broadcast); QueueMessage(message); }
public void EndGame(GameEndBroadcast end) { GameIsOver = true; Owner.OnGameEnd(end); _Opponent.OnGameEnd(end); }
public ServerToClientMessage(GameEndBroadcast end) { Type = ServerToClientMessageType.GameEnd; GameEnd = end; }