Beispiel #1
0
        protected override void OnInitialized(EventArgs e)
        {
            m_renderView = new RenderView();

            var renderer = new Renderer(m_renderView);

            SetRenderer(renderer);

            this.TileLayoutChanged += OnTileArrangementChanged;
            this.AboutToRender += OnAboutToRender;

            base.OnInitialized(e);

            base.CenterPos = new Point(5, 5);
        }
Beispiel #2
0
 public Renderer(RenderView renderData)
 {
     m_renderData = renderData;
 }