private GameRound GetRound(Game game, Int32 roundIndex) { return(((GameRound[])game .GetType() .GetFields(BindingFlags.Instance | BindingFlags.NonPublic)[1] .GetValue(game))[roundIndex]); }
private void SetCurrentRound(Game game, Int32 value) { game .GetType() .GetProperties(BindingFlags.Instance | BindingFlags.NonPublic) .First() .SetValue(game, value); }