/// <summary> /// Methode om GameContext te maken vanuit de gegeven bytes. /// </summary> /// <param name="data"></param> public void Deserialize(byte[] data) { GameContext ctx = (GameContext)GameFiles.Deserialize(data); playerListContext = ctx.playerListContext; turnControllerContext = ctx.turnControllerContext; cardControllerContext = ctx.cardControllerContext; playingFieldContext = ctx.playingFieldContext; }
public void Deserialize(byte[] data) { HighscoreContext context = (HighscoreContext)GameFiles.Deserialize(data); HighscoreItems = context.HighscoreItems; }