示例#1
0
        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);
        }
示例#2
0
 public void Process(CompleteTurn turn)
 {
     turn.Graphics.WriteToFile(bw, fw);
     turn.Statistics.WriteData(bw);
 }