Example #1
0
        public GraphicTurnSet GetInitialTurnset()
        {
            var graphics = new GraphicTurnSet(0);

            foreach (var org in AllObjects)
            {
                graphics.AddTurn(new AddObject(org));
            }

            return(graphics);
        }
        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);
        }
Example #3
0
 public CompleteTurn(GraphicTurnSet graphics, GraphDataPacket statistics)
 {
     Graphics   = graphics;
     Statistics = statistics;
 }