コード例 #1
0
        public void DrawBounds(RenderTarget target)
        {
            label.DisplayedString = this.entities.Count.ToString();
            target.Draw(this.shape, new RenderStates(BlendMode.Alpha));
            target.Draw(label);

            if (this.level < MAX_LEVEL)
            {
                pNW.DrawBounds(target);
                pNE.DrawBounds(target);
                pSW.DrawBounds(target);
                pSE.DrawBounds(target);
            }
        }