private bool GetNextTurn() { if (br.BaseStream.Position >= br.BaseStream.Length) { return(false); } var newTurn = new GraphicTurnSet(br); var stats = new GraphDataPacket(br); CurrentTurn = new CompleteTurn(newTurn, stats); return(true); }
public void Process(CompleteTurn turn) { turn.Graphics.WriteToFile(bw, fw); turn.Statistics.WriteData(bw); }