Пример #1
0
    public void StaticComponentsDisplay()
    {
        var blockFactory = new BlockFactory();
        var visualizer   = new ElementVisualizaer();

        visualizer.Add(blockFactory.GetStone(0, 0));
        visualizer.Add(blockFactory.GetStairs(20, 0));
        visualizer.Add(blockFactory.GetGold(40, 0));
        visualizer.Add(blockFactory.GetRail(60, 0));
        visualizer.Add(blockFactory.GetGameOver(0, 40));

        visualizer.Start();
    }