예제 #1
0
        private IDrawable[] GetContent()
        {
            if (game.IsGameOver)
            {
                Exit(null);
                return(new IDrawable[0]);
            }

            var tempDrawer = new Drawer(FieldSize.Width, FieldSize.Height);

            game.PrepareForNextFrame(tempDrawer);
            game.NextFrame(tempDrawer);

            return(tempDrawer.QueueForDrawing);
        }