Beispiel #1
0
        public void Draw()
        {
            DrawableSet drawSet = new DrawableSet();

            foreach (var state in TraverseDepthFirst())
            {
                drawSet.UnionWith(state.Drawables);
            }
            drawSet.Draw();
        }
Beispiel #2
0
 public override void OnRenderFrame(FrameEventArgs e)
 {
     base.OnRenderFrame(e);
     sprites.Draw();
 }