コード例 #1
0
        public void Draw(IDrawableCom toDraw, int priority)
        {
            Debug.Assert(!toDraw.Owner.Destroyed);

            _drawQueue.Enqueue(toDraw.DrawableNode, priority);

            if (toDraw is DrawRectCom)
            {
                MaxDrawCountForType++;
            }
        }
コード例 #2
0
 public void Draw(IDrawableCom toDraw)
 {
     _drawQueue.Enqueue(toDraw.DrawableNode, 0);
 }